diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e772e5e5..aab16730 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -54,8 +54,11 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.14 - - name: Docker login - run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin + - name: Docker Login + env: + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + run: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: