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