Skip to content

Commit

Permalink
Sign with cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedearing committed Sep 5, 2024
1 parent 75ca9a5 commit 43297e9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:
push: true
tags: |
ghcr.io/jessedearing/debug:latest
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/jessedearing/debug
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
- name: Install cosign
uses: sigstore/cosign-installer@v3.6.0
- name: Sign images with GitHub OIDC
env:
DIGEST: ${{ steps.push.outputs.digest }}
run: |
cosign sign --yes ghcr.io/jessedearing/debug:latest

0 comments on commit 43297e9

Please sign in to comment.