Skip to content

Commit b3db1ac

Browse files
committed
fix get image digest
1 parent e292e10 commit b3db1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-image-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
fontebasso/php-nginx:${RELEASE_VERSION}-amd64 \
8080
fontebasso/php-nginx:${RELEASE_VERSION}-arm64
8181
82-
digest=$(docker buildx imagetools inspect fontebasso/php-nginx:${RELEASE_VERSION} --format '{{.Digest}}')
82+
digest=$(docker buildx imagetools inspect fontebasso/php-nginx:${RELEASE_VERSION} --format '{{json .}}' | jq -r '.manifest.digest')
8383
echo "digest=$digest"
8484
echo "digest=$digest" >> "$GITHUB_OUTPUT"
8585

0 commit comments

Comments
 (0)