Skip to content

Commit 099dafd

Browse files
committed
fix: add GitHub Container Registry authentication
- Add docker/login-action step to authenticate with ghcr.io - Resolves Docker push authentication failure in release pipeline
1 parent 44929de commit 099dafd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
- name: Run tests
2727
run: make test
2828

29+
- name: Login to GitHub Container Registry
30+
uses: docker/login-action@v3
31+
with:
32+
registry: ghcr.io
33+
username: ${{ github.actor }}
34+
password: ${{ secrets.GITHUB_TOKEN }}
35+
2936
- name: Run GoReleaser
3037
uses: goreleaser/goreleaser-action@v6
3138
with:

0 commit comments

Comments
 (0)