Skip to content

Commit cb9a689

Browse files
committed
ci: login to ghcr.io to get CI image
Signed-off-by: Mike Sul <mike.sul@foundries.io>
1 parent de357e7 commit cb9a689

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ name: Create release
88
env:
99
version: ${{ github.ref_name }}
1010

11+
permissions:
12+
contents: read
13+
packages: read
14+
1115
jobs:
1216
build:
1317
strategy:
@@ -29,6 +33,13 @@ jobs:
2933
with:
3034
fetch-depth: 0
3135

36+
- name: Login to GHCR
37+
uses: docker/login-action@v3
38+
with:
39+
registry: ghcr.io
40+
username: ${{ github.actor }}
41+
password: ${{ secrets.GITHUB_TOKEN }}
42+
3243
- name: Set up golang
3344
uses: actions/setup-go@v6
3445
with:

0 commit comments

Comments
 (0)