Skip to content

Commit 1539e47

Browse files
authored
GH generator image action: fix autoversion (#254)
* GH generator image action: fix autoversion * Fix token var placement
1 parent 98318ec commit 1539e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generator-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
TOKEN=$(echo ${{ secrets.GITHUB_TOKEN }} | base64)
6161
6262
# Fetch tags from GHCR API
63-
TAGS=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
63+
TAGS=$(curl -s -H "Authorization: Bearer $TOKEN" \
6464
"https://${{ env.REGISTRY }}/v2/${{ env.IMAGE }}/tags/list")
6565
echo "Image tags: ${TAGS}"
6666

0 commit comments

Comments
 (0)