diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83972b9..1052288 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: - name: Sign image with a key run: | - cosign sign --yes --key env://COSIGN_PRIVATE_KEYTAGS ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}@${DIGEST} + cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}@${DIGEST} env: DIGEST: ${{ steps.push.outputs.digest }} COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}