Skip to content

Commit

Permalink
Use registry name
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Aug 14, 2022
1 parent 052f73f commit 4fb3c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:

- name: Sign the Docker image ✍️
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: cosign sign --key env://COSIGN_PRIVATE_KEY mostafamoradian/xk6-kafka:${{ steps.meta.outputs.tags }}
run: cosign sign --key env://COSIGN_PRIVATE_KEY docker.io/mostafamoradian/xk6-kafka:${{ steps.meta.outputs.tags }}
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}

- name: Verify the Docker image signature ✅
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: cosign verify --key env://COSIGN_PUBLIC_KEY mostafamoradian/xk6-kafka:${{ steps.meta.outputs.tags }}
run: cosign verify --key env://COSIGN_PUBLIC_KEY docker.io/mostafamoradian/xk6-kafka:${{ steps.meta.outputs.tags }}
env:
COSIGN_PUBLIC_KEY: ${{ secrets.COSIGN_PUBLIC_KEY }}

Expand Down

0 comments on commit 4fb3c33

Please sign in to comment.