diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 50c6c62..e0377ce 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -62,6 +62,7 @@ jobs: DIGEST: ${{ steps.build-and-push.outputs.digest }} COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }} run: | + export GPG_TTY=$(tty) \echo "${COSIGN_PRIVATE_KEY}" > cosign.key \echo "${TAGS}" | \xargs -I {} cosign sign --key cosign.key --yes "{}@${DIGEST}" \ -a "workflow=${{ github.workflow }}" \