fffffffffffffffffffffffffffff
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 / build-debian (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Failing after 8s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 7s
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 / build-debian (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Failing after 8s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 8s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 7s
This commit is contained in:
@@ -259,6 +259,8 @@ jobs:
|
|||||||
printf "%s%s\n" "$b" "${S[$s]}"
|
printf "%s%s\n" "$b" "${S[$s]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "${{ secrets.GIT_TOKEN }}" | docker login gitea.fithwum.tech -u "${{ secrets.GIT_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
versions=()
|
versions=()
|
||||||
if [[ "${{ needs.check-for-changes.outputs.should_build_alpine }}" == "true" ]]; then
|
if [[ "${{ needs.check-for-changes.outputs.should_build_alpine }}" == "true" ]]; then
|
||||||
versions+=("alpine")
|
versions+=("alpine")
|
||||||
@@ -276,8 +278,6 @@ jobs:
|
|||||||
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"
|
||||||
|
|
||||||
echo "${{ secrets.GIT_TOKEN }}" | docker login gitea.fithwum.tech -u "${{ secrets.GIT_USERNAME }}" --password-stdin
|
|
||||||
|
|
||||||
echo "[INFO] Pulling $image"
|
echo "[INFO] Pulling $image"
|
||||||
docker pull "$image" || echo "[WARN] Failed to pull $image"
|
docker pull "$image" || echo "[WARN] Failed to pull $image"
|
||||||
|
|
||||||
@@ -286,7 +286,7 @@ jobs:
|
|||||||
digest=$(docker inspect --format='{{.Id}}' "$image" 2>/dev/null || echo "unknown")
|
digest=$(docker inspect --format='{{.Id}}' "$image" 2>/dev/null || echo "unknown")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
size_bytes=$(echo "$inspect" | grep 'Size:' | head -n1 | awk '{print $2}' || echo "0")
|
size_bytes=$(docker image inspect "$image" --format='{{.Size}}' 2>/dev/null || echo "0")
|
||||||
size_bytes=${size_bytes//[^0-9]/}
|
size_bytes=${size_bytes//[^0-9]/}
|
||||||
size_human=$(human_size "$size_bytes")
|
size_human=$(human_size "$size_bytes")
|
||||||
base_digest="unknown"
|
base_digest="unknown"
|
||||||
@@ -298,6 +298,12 @@ jobs:
|
|||||||
base_digest="${BASIC_DIGEST:-unknown}"
|
base_digest="${BASIC_DIGEST:-unknown}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "[DEBUG] version=$version"
|
||||||
|
echo "[DEBUG] digest=$digest"
|
||||||
|
echo "[DEBUG] size_bytes=$size_bytes"
|
||||||
|
echo "[DEBUG] size_human=$size_human"
|
||||||
|
echo "[DEBUG] base_digest=$base_digest"
|
||||||
|
|
||||||
jq -n \
|
jq -n \
|
||||||
--arg version "$version" \
|
--arg version "$version" \
|
||||||
--arg commit "$(git rev-parse HEAD)" \
|
--arg commit "$(git rev-parse HEAD)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user