Skip to content

Commit

Permalink
Attestation for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vycius committed Jul 17, 2024
1 parent 475a1dd commit 83a1570
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
permissions:
contents: read
packages: write
id-token: write
attestations: write
outputs:
digest: ${{ steps.docker.outputs.digest }}
steps:
Expand All @@ -33,4 +35,11 @@ jobs:
no-cache: true
push: true
cache-from: ''
cache-to: ''
cache-to: ''

- name: Generate docker image attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/govlt/national-boundaries-api
subject-digest: ${{ steps.docker.outputs.digest }}
push-to-registry: true

0 comments on commit 83a1570

Please sign in to comment.