Skip to content

Commit

Permalink
FIx docker issues by authenticating before goreleaser (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Jul 20, 2020
1 parent 9f0eaac commit 04cd976
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -22,13 +22,17 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: Logging into docker
uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 04cd976

Please sign in to comment.