commit 1b2746140f45937640dbec0292635d9e1d4c8960 parent e3b7e9cf72fa539292d203a9ab0f1a71517bc2a4 Author: MTRNord <MTRNord@users.noreply.github.com> Date: Fri, 3 Apr 2026 16:20:42 +0200 more image builder fixes Signed-off-by: MTRNord <MTRNord@users.noreply.github.com> Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/apps/talos_cluster/image-builder/build-blog-cronjob.yaml b/apps/talos_cluster/image-builder/build-blog-cronjob.yaml @@ -31,7 +31,7 @@ spec: - /bin/sh - -c - | - wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-arm64 \ + wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v3.0.5/cosign-linux-arm64 \ && chmod +x /tools/cosign volumeMounts: - name: tools @@ -95,7 +95,7 @@ spec: --output "type=image,name=${IMAGE}:${TAG_TS},push=true,oci-mediatypes=true" \ --metadata-file /tmp/build-meta.json - DIGEST="$(grep -o '"containerimage.digest":"sha256:[a-f0-9]*"' /tmp/build-meta.json | head -1 | cut -d'"' -f4)" + DIGEST="$(crane digest ${IMAGE}:${TAG_TS})" echo "==> Digest: ${DIGEST}" # Add convenience tags (does not re-push layers, registry-side copy) diff --git a/apps/talos_cluster/image-builder/build-bookwyrm-cronjob.yaml b/apps/talos_cluster/image-builder/build-bookwyrm-cronjob.yaml @@ -65,7 +65,7 @@ spec: - /bin/sh - -c - | - wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-arm64 \ + wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v3.0.5/cosign-linux-arm64 \ && chmod +x /tools/cosign volumeMounts: - name: tools @@ -164,7 +164,7 @@ spec: --output "type=image,name=${IMAGE}:${VERSION},push=true,oci-mediatypes=true" \ --metadata-file /tmp/build-meta.json - DIGEST="$(grep -o '"containerimage.digest":"sha256:[a-f0-9]*"' /tmp/build-meta.json | head -1 | cut -d'"' -f4)" + DIGEST="$(crane digest ${IMAGE}:${VERSION})" echo "==> Digest: ${DIGEST}" crane cp "${IMAGE}:${VERSION}" "${IMAGE}:latest" diff --git a/apps/talos_cluster/image-builder/build-continuwuity-cronjob.yaml b/apps/talos_cluster/image-builder/build-continuwuity-cronjob.yaml @@ -29,7 +29,7 @@ spec: - /bin/sh - -c - | - wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v2.4.3/cosign-linux-arm64 \ + wget -qO /tools/cosign https://github.com/sigstore/cosign/releases/download/v3.0.5/cosign-linux-arm64 \ && chmod +x /tools/cosign volumeMounts: - name: tools @@ -90,7 +90,7 @@ spec: --output "type=image,name=${IMAGE}:${TAG_TS},push=true,oci-mediatypes=true" \ --metadata-file /tmp/build-meta.json - DIGEST="$(grep -o '"containerimage.digest":"sha256:[a-f0-9]*"' /tmp/build-meta.json | head -1 | cut -d'"' -f4)" + DIGEST="$(crane digest ${IMAGE}:${TAG_TS})" echo "==> Digest: ${DIGEST}" crane cp "${IMAGE}:${TAG_TS}" "${IMAGE}:main"