From ac2e6ba5c7ae42c6bece4d1b914e8986acd76304 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Tue, 3 Nov 2020 00:40:49 +1100 Subject: [PATCH] chore: docker hub login --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b3d7f4..241802c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,11 @@ jobs: go-version: 1.14 id: go - - name: Login to docker hub - run: docker login -u $DOCKER_USER -p $DOCKER_PASS + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2.2.1