Skip to content

Commit

Permalink
add docker login action
Browse files Browse the repository at this point in the history
  • Loading branch information
abice committed Nov 13, 2023
1 parent 1208e5d commit 4e336ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
- name: Show GoReleaser version
run: goreleaser -v

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: success() && startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 4e336ab

Please sign in to comment.