Skip to content

Commit 03cd6ff

Browse files
committed
chore(ci): use action to login to docker registry
1 parent e68d9b6 commit 03cd6ff

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ jobs:
2323
fetch-depth: 0
2424
- # For TagBody, TagSubject or TagContents fields in goreleaser's templates
2525
run: git fetch --force --tags
26+
- uses: docker/login-action@v3
27+
with:
28+
registry: ghcr.io
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
2631
- uses: goreleaser/goreleaser-action@v6
2732
with:
2833
version: v1.9.2
2934
args: release --rm-dist
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)