From 30a29374841f75cac1e1fa685bad86d1eb4ecaaa Mon Sep 17 00:00:00 2001 From: omissis Date: Sun, 11 Sep 2022 17:06:02 +0200 Subject: [PATCH] fix: add missing docker login action in release workflow --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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