Skip to content

Commit 0efdcb4

Browse files
committed
Add login step for ghcr.io
1 parent a8fbb7e commit 0efdcb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
with:
2828
username: ${{ secrets.DOCKERHUB_USERNAME }}
2929
password: ${{ secrets.DOCKERHUB_PASSWORD }}
30+
- name: Log in to GitHub Container Registry
31+
uses: docker/login-action@v3
32+
with:
33+
registry: ghcr.io
34+
username: ${{ github.actor }}
35+
password: ${{ secrets.GITHUB_TOKEN }}
3036
- name: Run GoReleaser
3137
uses: goreleaser/goreleaser-action@v6
3238
with:

0 commit comments

Comments
 (0)