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 6b0a987 commit 0ff9aafCopy full SHA for 0ff9aaf
.github/workflows/civ2.yml
@@ -43,7 +43,7 @@ jobs:
43
run: |
44
IMAGE=stac-utils/pgstac-base
45
HASH=$(git log -1 --pretty="format:%h" -- docker/pgstac)
46
- TAG="\"$HASH\""
+ TAG="\"sha-$HASH\""
47
TOKEN=$(curl -s https://ghcr.io/token\?scope\="repository:$IMAGE:pull" | jq -r .token)
48
EXISTS=$(curl -s -H "Authorization: Bearer $TOKEN" https://ghcr.io/v2/$IMAGE/tags/list | jq "try(any(.tags[]; . == $TAG))")
49
echo "pgstac-image-exists=$EXISTS" >>$GITHUB_OUTPUT
0 commit comments