Skip to content

Commit 0524c6c

Browse files
committed
Log in to GHCR in publish workflow
1 parent 754a1e4 commit 0524c6c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
packages: write
1111
id-token: write
1212
steps:
13+
- name: Login to GitHub Container Registry
14+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
15+
with:
16+
registry: ghcr.io
17+
username: ${{ github.repository_owner }}
18+
password: ${{ secrets.GITHUB_TOKEN }}
1319
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1420
with:
1521
ref: main

0 commit comments

Comments
 (0)