test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Failing after 7s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 6s
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Failing after 7s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 9s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 6s
This commit is contained in:
@@ -275,7 +275,13 @@ jobs:
|
|||||||
mkdir -p "$version"
|
mkdir -p "$version"
|
||||||
infofile="$version/build-info.json"
|
infofile="$version/build-info.json"
|
||||||
image="${IMAGE_REGISTRY}/${IMAGE_ORG}/${IMAGE_REPO_TS}:$version"
|
image="${IMAGE_REGISTRY}/${IMAGE_ORG}/${IMAGE_REPO_TS}:$version"
|
||||||
docker pull "$image" || true
|
|
||||||
|
# Pull image before inspecting to ensure metadata is available
|
||||||
|
if ! docker pull "$image"; then
|
||||||
|
echo "[WARN] Failed to pull $image — setting fields to 'unknown/0'"
|
||||||
|
digest="unknown"
|
||||||
|
size_bytes=0
|
||||||
|
else
|
||||||
|
|
||||||
inspect=$(docker buildx imagetools inspect "$image" 2>/dev/null || echo "")
|
inspect=$(docker buildx imagetools inspect "$image" 2>/dev/null || echo "")
|
||||||
digest=$(echo "$inspect" | grep -m1 'Digest:' | awk '{print $2}' || echo "unknown")
|
digest=$(echo "$inspect" | grep -m1 'Digest:' | awk '{print $2}' || echo "unknown")
|
||||||
|
|||||||
Reference in New Issue
Block a user