Skip to content

Commit 0ff9aaf

Browse files
committed
fix ci
1 parent 6b0a987 commit 0ff9aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/civ2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
IMAGE=stac-utils/pgstac-base
4545
HASH=$(git log -1 --pretty="format:%h" -- docker/pgstac)
46-
TAG="\"$HASH\""
46+
TAG="\"sha-$HASH\""
4747
TOKEN=$(curl -s https://ghcr.io/token\?scope\="repository:$IMAGE:pull" | jq -r .token)
4848
EXISTS=$(curl -s -H "Authorization: Bearer $TOKEN" https://ghcr.io/v2/$IMAGE/tags/list | jq "try(any(.tags[]; . == $TAG))")
4949
echo "pgstac-image-exists=$EXISTS" >>$GITHUB_OUTPUT

0 commit comments

Comments
 (0)