Skip to content

Commit

Permalink
Merge pull request #7 from tateru/fix-ci
Browse files Browse the repository at this point in the history
CI: update cosign
  • Loading branch information
klump authored Jan 10, 2024
2 parents db1610f + aa364ed commit e350428
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
uses: sigstore/cosign-installer@v3.3.0
with:
cosign-release: 'v1.11.0'
cosign-release: 'v2.2.2'


# Workaround: https://github.com/docker/build-push-action/issues/461
Expand Down Expand Up @@ -87,8 +87,6 @@ jobs:
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
Expand Down

0 comments on commit e350428

Please sign in to comment.