File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 3232
3333 - name : Clean install dependencies
3434 run : npm clean-install
35-
36- - name : Debug GHCR_PAT
37- env :
38- GHCR_PAT : ${{ secrets.GHCR_PAT }}
39- shell : bash
40- run : |
41- echo "Token length: ${#GHCR_PAT}"
42-
35+
4336 - name : Determine next alpha version
4437 id : version
4538 run : |
5043 # Use a PAT with read:packages scope
5144 TOKEN="${{ secrets.GHCR_PAT }}"
5245 TAGS_JSON=$(curl -s -H "Authorization: Bearer $TOKEN" \
53- "https://ghcr.io/v2/${{ github.repository }}/podverse-api/tags/list")
46+ "https://ghcr.io/v2/${{ github.repository_owner }}/podverse-api/tags/list")
5447 echo "Raw tags JSON: $TAGS_JSON"
5548 TAGS=$(echo "$TAGS_JSON" | jq -r '.tags[]' | grep "alpha" || true)
5649 echo "Filtered alpha tags: $TAGS"
You can’t perform that action at this time.
0 commit comments