Skip to content

Commit

Permalink
feat: Add Docker credentials for DockerHub in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Apr 17, 2024
1 parent 2cee675 commit 0bab421
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
-v ${{ github.workspace }}:/workspace \
-w /workspace \
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
-e DOCKER_USERNAME=${{ secrets.DOCKERHUB_USERNAME }} \
-e DOCKER_PASSWORD=${{ secrets.DOCKERHUB_TOKEN }} \
-v /var/run/docker.sock:/var/run/docker.sock \
-e RELEASE_SUFFIX=${{ env.RELEASE_SUFFIX }} \
goreleaser/goreleaser-cross:v1.22.2 release --clean --config .goreleaser.yaml.new

0 comments on commit 0bab421

Please sign in to comment.