Skip to content

Commit

Permalink
Also push container images to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
IngmarStein committed May 26, 2024
1 parent 89fb43f commit 3ad5597
Show file tree
Hide file tree
Showing 2 changed files with 14 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 @@ -22,6 +22,11 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ kos:
platforms:
- linux/amd64
- linux/arm64
- repository: ingmarstein/tcp-multiplexer
tags:
- '{{.Version}}'
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64

0 comments on commit 3ad5597

Please sign in to comment.