cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 1032ce103a7f0f2d80e07789df79fdf217f1ee66
parent 106a66244296779813d3cf539a1c8844b62be07d
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Fri, 10 Apr 2026 11:37:26 +0200

fixes

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Mapps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy b/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy @@ -309,9 +309,8 @@ pipelineJob('gitops-multiarch-builds') { IMAGE="registry.midnightthoughts.space/mtrnord/bookwyrm" # Skip if this tag already exists in the registry (same logic as GH Actions) - TAGS="$(wget -qO - \'https://registry.midnightthoughts.space/v2/mtrnord/bookwyrm/tags/list\' \\ - | grep -o \'"tags":\\[[^]]*\\]\' || echo \'\')" - if echo "$TAGS" | grep -q "\\\"${VERSION}\\\""; then + TAGS_JSON="$(wget -qO - \'https://registry.midnightthoughts.space/v2/mtrnord/bookwyrm/tags/list\' 2>/dev/null || echo \'{}\')" + if echo "$TAGS_JSON" | jq -e --arg v "$VERSION" \'(.tags // []) | contains([$v])\' > /dev/null 2>&1; then echo "Tag ${VERSION} already exists in registry — skipping build" exit 0 fi