Skip to content

Commit

Permalink
ci: Update cosign installer to 3.0.5
Browse files Browse the repository at this point in the history
This updates the installer action to v3.0.5 and adjusts our local action
to the new calling interface.
  • Loading branch information
michaelweiser committed Jun 13, 2023
1 parent 2373dfd commit 13236f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/container-image-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: inputs.event != 'pull_request'
uses: sigstore/cosign-installer@v2.3.0
uses: sigstore/cosign-installer@v3.0.5

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
Expand Down Expand Up @@ -142,10 +142,8 @@ runs:
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ inputs.event != 'pull_request' }}
env:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
shell: bash
run: cosign sign ${{ inputs.registry }}/${{ inputs.image_name }}@${{
run: cosign sign --yes ${{ inputs.registry }}/${{ inputs.image_name }}@${{
steps.build-and-push.outputs.digest }}

0 comments on commit 13236f9

Please sign in to comment.