-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(package): upload Docker image with provenance
Signed-off-by: Fernando Fernández <[email protected]>
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,7 +282,7 @@ jobs: | |
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.JF_BOT_TOKEN }} | ||
|
||
- name: Create multiplatform image ${{ inputs.push && 'and push 🛠️⬆️' || '🛠️' }} | ||
- name: Create multiplatform image and push 🛠️⬆️ | ||
uses: docker/[email protected] | ||
id: image | ||
with: | ||
|
@@ -306,3 +306,17 @@ jobs: | |
with: | ||
name: | | ||
buildx-* | ||
- name: Create provenance attestation (ghcr.io) 🔏 | ||
uses: actions/[email protected] | ||
with: | ||
subject-name: ghcr.io/${{ env.REGISTRY_IMAGE }} | ||
subject-digest: ${{ steps.image.outputs.digest }} | ||
push-to-registry: true | ||
|
||
- name: Create provenance attestation (docker.io) 🔏 | ||
uses: actions/[email protected] | ||
with: | ||
subject-name: docker.io/${{ env.REGISTRY_IMAGE }} | ||
subject-digest: ${{ steps.image.outputs.digest }} | ||
push-to-registry: true |