We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4bd36a commit 2186938Copy full SHA for 2186938
.github/workflows/publish-alpha.yml
@@ -40,8 +40,8 @@ jobs:
40
BASE_VERSION=$(echo "$BASE_VERSION" | sed 's/-.*//')
41
IMAGE_NAME=ghcr.io/${{ github.repository }}/podverse-api
42
43
- # Get the latest alpha tag from GHCR
44
- TOKEN="${{ secrets.GITHUB_TOKEN }}"
+ # Use a PAT with read:packages scope
+ TOKEN="${{ secrets.GHCR_PAT }}"
45
TAGS=$(curl -s -H "Authorization: Bearer $TOKEN" \
46
"https://ghcr.io/v2/${{ github.repository }}/podverse-api/tags/list" | jq -r '.tags[]' | grep "alpha" || true)
47
0 commit comments