From 4e336ab1eef14107dc5292e3585ad08f15d2b231 Mon Sep 17 00:00:00 2001 From: Alex Bice Date: Mon, 13 Nov 2023 07:34:33 -0700 Subject: [PATCH] add docker login action --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a82511..7cf638a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/')