fix(images): build when Ubuntu has upgraded a base package #509

Open
Claude wants to merge 2 commits from fix/images-base-upgrade into main
pull from: fix/images-base-upgrade
Showing only changes of commit 508ed5ce12 - Show all commits
+1 -1
View File
@@ -168,7 +168,7 @@ jobs:
printf 'header = "Authorization: token %s"\n' "$JOB_TOKEN" \
| curl -fsSL -K - "${SERVER_URL}/api/v1/repos/${REPO}/archive/${SHA}.tar.gz" \
| tar -xz -C /tmp/src --strip-components=1
# -B: no bytecode left behind to break the pristine-filesystem check below.
# -B: no bytecode left behind to break the leftover check below.
env -u PAT_USER -u PAT_TOKEN -u JOB_TOKEN python3 -B -E -s \
/tmp/src/scripts/next_image_version.py /tmp/src "$IMAGE_NAME" "$SERVER_URL" > /kaniko/image-version
if [ -s /kaniko/image-version ]; then