Skip to content

Commit

Permalink
Add step to login to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
ymtdzzz committed Jun 30, 2024
1 parent c213475 commit 5bd3964
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
with:
go-version-file: go.mod
cache: true
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v6
with:
version: '~> v1'
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ docker_manifests:
image_templates:
- 'ymtdzzz/otel-tui:{{ .Tag }}-amd64'
- 'ymtdzzz/otel-tui:{{ .Tag }}-arm64'
- 'ymtdzzz/otel-tui:latest'

0 comments on commit 5bd3964

Please sign in to comment.