Skip to content

Commit

Permalink
fix: update to cosign 2.0 and pin install (ublue-os#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoceppi authored Mar 2, 2023
1 parent 7174996 commit 4fbe168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
--disable-content-trust
# Sign container
- uses: sigstore/cosign-installer@main
- uses: sigstore/cosign-installer@v3.0.1
if: github.event_name != 'pull_request'

# Only needed when running `cosign sign` using a key
Expand All @@ -167,7 +167,7 @@ jobs:
- name: Sign container image
if: github.event_name != 'pull_request'
run: |
cosign sign --key cosign.key ${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}@${TAGS}
cosign sign -y --key cosign.key ${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}@${TAGS}
env:
TAGS: ${{ steps.push.outputs.digest }}
COSIGN_EXPERIMENTAL: false
Expand Down

0 comments on commit 4fbe168

Please sign in to comment.