Skip to content

Commit 3d7a24a

Browse files
committed
build(github action): bump version
1 parent e2be79e commit 3d7a24a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/docker-build-publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
# https://github.com/sigstore/cosign-installer
4545
- name: Install cosign
4646
if: github.event_name != 'pull_request'
47-
uses: sigstore/cosign-installer@v3.3.0
47+
uses: sigstore/cosign-installer@v3.5.0
4848
with:
49-
cosign-release: 'v2.2.2'
49+
cosign-release: 'v2.2.4'
5050

5151

5252
# Workaround: https://github.com/docker/build-push-action/issues/461
@@ -98,7 +98,9 @@ jobs:
9898
- name: Sign the published Docker image
9999
if: ${{ github.event_name != 'pull_request' }}
100100
env:
101-
COSIGN_EXPERIMENTAL: "true"
101+
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
102+
TAGS: ${{ steps.meta.outputs.tags }}
103+
DIGEST: ${{ steps.build-and-push.outputs.digest }}
102104
# This step uses the identity token to provision an ephemeral certificate
103105
# against the sigstore community Fulcio instance.
104-
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
106+
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 commit comments

Comments
 (0)