From a8380ce23139ee8659aa3e16a021aab50ee608eb Mon Sep 17 00:00:00 2001 From: Norbert Gruszka <40759761+norbertgruszka@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:35:46 +0100 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f1c37bf..1522296 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -35,11 +35,11 @@ jobs: # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer - - name: Install cosign - if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@v3.1.1 - with: - cosign-release: 'v2.1.1' # optional + # - name: Install cosign + # if: github.event_name != 'pull_request' + # uses: sigstore/cosign-installer@v3.1.1 + # with: + # cosign-release: 'v2.1.1' # optional # Workaround: https://github.com/docker/build-push-action/issues/461 @@ -77,9 +77,9 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - name: Sign the images with GitHub OIDC Token - if: ${{ github.event_name != 'pull_request' }} - env: - DIGEST: ${{ steps.build-and-push.outputs.digest }} - TAGS: ${{ steps.docker_meta.outputs.tags }} - run: cosign sign --yes "${TAGS}@${DIGEST}" + # - name: Sign the images with GitHub OIDC Token + # if: ${{ github.event_name != 'pull_request' }} + # env: + # DIGEST: ${{ steps.build-and-push.outputs.digest }} + # TAGS: ${{ steps.docker_meta.outputs.tags }} + # run: cosign sign --yes "${TAGS}@${DIGEST}"