Skip to content

Commit 4e336ab

Browse files
committed
add docker login action
1 parent 1208e5d commit 4e336ab

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
@@ -28,6 +28,12 @@ jobs:
2828
- name: Show GoReleaser version
2929
run: goreleaser -v
3030

31+
- name: Login to Docker Hub
32+
uses: docker/login-action@v3
33+
with:
34+
username: ${{ secrets.DOCKERHUB_USERNAME }}
35+
password: ${{ secrets.DOCKERHUB_TOKEN }}
36+
3137
- name: Run GoReleaser
3238
uses: goreleaser/goreleaser-action@v5
3339
if: success() && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)