Skip to content

Commit 0dab142

Browse files
authored
Update release.yaml
1 parent 4c9673f commit 0dab142

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
uses: actions/setup-go@v3
2929
with:
3030
go-version: 1.20.x
31+
- name: Image Registry Login
32+
if: github.ref != 'refs/heads/master'
33+
run: |
34+
docker login --username linuxsuren --password ${{secrets.DOCKER_HUB_PUBLISH_SECRETS}}
35+
docker login ${{ env.REGISTRY }}/linuxsuren --username linuxsuren --password ${{secrets.GH_PUBLISH_SECRETS}}
3136
- name: Run GoReleaser
3237
uses: goreleaser/[email protected]
3338
with:

0 commit comments

Comments
 (0)