From 3ad5597db4bafd55ee5d9a4ef30bd0d317c0cebe Mon Sep 17 00:00:00 2001 From: Ingmar Stein Date: Sun, 26 May 2024 22:55:20 +0200 Subject: [PATCH] Also push container images to Docker Hub --- .github/workflows/release.yml | 5 +++++ .goreleaser.yml | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc22983..a9fd1c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.goreleaser.yml b/.goreleaser.yml index 7911bf8..31511ac 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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