Skip to content

Commit 780c207

Browse files
fix: authenticate registry before image attestation (#162)
1 parent 535d06a commit 780c207

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/container-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,13 @@ jobs:
530530
packages: write
531531

532532
steps:
533+
- name: Sign in to GitHub Container Registry
534+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
535+
with:
536+
registry: ghcr.io
537+
username: ${{ github.actor }}
538+
password: ${{ secrets.GITHUB_TOKEN }}
539+
533540
- name: Sign verified multiarchitecture candidate provenance
534541
uses: actions/attest-build-provenance@96b4a1ef7235a096b17240c259729fdd70c83d45 # v2
535542
with:

0 commit comments

Comments
 (0)