Skip to content

Commit 4c4ef5d

Browse files
committed
Update auth method in publish action
1 parent 7f725be commit 4c4ef5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-ghcr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
# Tags already on GHCR (this push is not listed yet).
3939
HTTP=$(curl -sS -o /tmp/ghcr-tags.json -w "%{http_code}" \
40-
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
40+
-u "${{ github.actor }}:${GITHUB_TOKEN}" \
4141
"https://ghcr.io/v2/${IMAGE_LOWER}/tags/list?n=1000" || true)
4242
if [ "${HTTP}" = "200" ] && [ -s /tmp/ghcr-tags.json ]; then
4343
MAX_VER=$(

0 commit comments

Comments
 (0)