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 4ca6817 commit 32fc86f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
fi
- uses: actions/attest-build-provenance@v2
if: ${{ env.PUBLISH == 'yes' }}
with:
subject-path: 'release/**/dockcmd*'

Expand Down Expand Up @@ -125,13 +126,15 @@ jobs:
ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }}
- name: Attest ghcr image
if: ${{ env.PUBLISH == 'yes' }}
uses: actions/attest-build-provenance@v2
with:
subject-name: ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }}
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 }}
Expand Down

0 comments on commit 32fc86f

Please sign in to comment.