Skip to content

Commit

Permalink
chore(ci) docker login fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jevonearth committed Sep 4, 2020
1 parent bf556f8 commit 28c5ba9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 28c5ba9

Please sign in to comment.