Skip to content

Commit 2f3a0d7

Browse files
committed
chore(ci): try and remove the docker login workaround
1 parent 415083a commit 2f3a0d7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ jobs:
2323
fetch-depth: 0
2424
- # For TagBody, TagSubject or TagContents fields in goreleaser's templates
2525
run: git fetch --force --tags
26-
- # FIXME: goreleaser should already take care of the login
27-
# (see https://github.com/goreleaser/goreleaser/blame/02a3486d4ba59505113a57b438ae567351ed3dab/scripts/entrypoint.sh#L17)
28-
# but it doesn't work for some reason.
29-
run: echo "$GITHUB_TOKEN" | docker login ghcr.io -u docker --password-stdin
26+
- run: docker login ghcr.io -u docker --password-stdin
3027
- uses: goreleaser/goreleaser-action@v6
3128
with:
3229
version: v1.9.2

0 commit comments

Comments
 (0)