Skip to content

Commit

Permalink
Fix: login into registry (in another step)
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Jun 28, 2020
1 parent 1ecccbf commit a516df2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: Login to Docker Registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | \
docker login docker.pkg.github.com -u docker --password-stdin
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
DOCKER_USERNAME: till
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a516df2

Please sign in to comment.