Skip to content

Commit

Permalink
Enable attestations
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew DeVenny <[email protected]>
  • Loading branch information
matthewdevenny committed Dec 12, 2024
1 parent 31df1ed commit 82986a8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,12 @@ jobs:
boxboat/dockcmd:${{ env.CI_VERSION }}
ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }}
- name: Attest ghcr image
- name: Attest image
if: ${{ env.PUBLISH == 'yes' }}
uses: actions/attest-build-provenance@v2
with:
subject-name: ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }}
subject-name: |
ghcr.io/boxboat/dockcmd
boxboat/dockcmd
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

- name: Attest hub image
if: ${{ env.PUBLISH == 'yes' }}
uses: actions/attest-build-provenance@v2
with:
subject-name: boxboat/dockcmd:${{ env.CI_VERSION }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit 82986a8

Please sign in to comment.