From 4fb3c331832061c0701183f3b28991ee333642ec Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Sun, 14 Aug 2022 14:47:25 +0200 Subject: [PATCH] Use registry name --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 367ae73..6215d24 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }}