Skip to content

Commit c0d1082

Browse files
authored
fix: log in to github registry (#158)
1 parent 56f770e commit c0d1082

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/go-test-and-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- "*"
1010

1111
permissions:
12-
contents: write
1312
packages: write
1413

1514
jobs:
@@ -48,6 +47,11 @@ jobs:
4847
# renovate: go-version
4948
go-version: 1.18.2
5049

50+
- name: Login to Docker Registry
51+
run: |
52+
echo "${{ secrets.GITHUB_TOKEN }}" | \
53+
docker login docker.pkg.github.com -u docker --password-stdin
54+
5155
- name: Run GoReleaser
5256
uses: goreleaser/goreleaser-action@v2
5357
with:

0 commit comments

Comments
 (0)