diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6aeacbe..93f3f45 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -51,6 +51,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO_VERSION: '1.19.1' + - name: Log in to Docker Hub + if: ${{ !contains(github.ref_name, '-') }} + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Run GoReleaser for release if: ${{ !contains(github.ref_name, '-') }} uses: goreleaser/goreleaser-action@v3