Skip to content

Commit

Permalink
chore(release): workaround for the Docker image not being pushed (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio authored Jul 11, 2022
1 parent 99d92d0 commit 0b3d821
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
-
# For TagBody, TagSubject or TagContents fields in goreleaser's templates
run: git fetch --force --tags
-
# FIXME: goreleaser should already take care of the login
# (see https://github.com/goreleaser/goreleaser/blame/02a3486d4ba59505113a57b438ae567351ed3dab/scripts/entrypoint.sh#L17)
# but it doesn't work for some reason.
run: echo "$GITHUB_TOKEN" | docker login ghcr.io -u docker --password-stdin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 0b3d821

Please sign in to comment.