Skip to content

Commit 0570cbf

Browse files
author
Carlos
committed
fix: use GHCR_PAT for Docker publish + packages:write permission
1 parent 31221e9 commit 0570cbf

11 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
permissions:
88
contents: write
99
id-token: write
10+
packages: write
1011

1112
jobs:
1213
release:
@@ -36,7 +37,7 @@ jobs:
3637
with:
3738
registry: ghcr.io
3839
username: ${{ github.actor }}
39-
password: ${{ secrets.GITHUB_TOKEN }}
40+
password: ${{ secrets.GHCR_PAT || secrets.GITHUB_TOKEN }}
4041
- uses: docker/build-push-action@v5
4142
with:
4243
context: .
8 Bytes
Binary file not shown.
2 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 Bytes
Binary file not shown.
11 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
15 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)