Skip to content

Commit

Permalink
Merge pull request #103 from svengo/revert-102-feature/multiple-attes…
Browse files Browse the repository at this point in the history
…tations

Revert "Update publish-docker.yml"
  • Loading branch information
svengo authored Dec 17, 2024
2 parents 3f247a3 + ca8e1f7 commit 1564465
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,17 @@ jobs:
cache-to: type=gha,mode=max
platforms: linux/amd64
-
name: Attest Docker images
name: Attest DockerHub
uses: actions/attest-build-provenance@v2
with:
subject-name: |
docker.io/${{ vars.DOCKERHUB_USERNAME }}/${{ vars.IMAGE_NAME }}
ghcr.io/${{ github.repository_owner }}/${{ vars.IMAGE_NAME }}
subject-name: docker.io/${{ vars.DOCKERHUB_USERNAME }}/${{ vars.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
-
name: Attest ghcr
uses: actions/attest-build-provenance@v2
with:
subject-name: ghcr.io/${{ github.repository_owner }}/${{ vars.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
-
Expand Down

0 comments on commit 1564465

Please sign in to comment.