aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-14 15:30:08 +0200
committerDanilo M. <danix@danix.xyz>2026-07-14 15:30:08 +0200
commit2b75214a975be9b9bef4824b78304a23fbe5f078 (patch)
treecdb1b5aa999612864431c33d89b447d6fb207c34 /README.md
parente129f089e9e014366591808fc48ad5ccce37858c (diff)
downloadsbo-slackbuilds-2b75214a975be9b9bef4824b78304a23fbe5f078.tar.gz
sbo-slackbuilds-2b75214a975be9b9bef4824b78304a23fbe5f078.zip
image-builder: catch build/push failures, prune cache on --force
The main loop runs build_variant in an `if ! (...)` condition, which suppresses set -e inside the subshell, so a failed docker build fell through to push a nonexistent tag and log "Done" (seen live: a transient containerd export lock reported success). Add explicit exit checks on docker build and docker push in all three scripts; return non-zero so the variant is marked failed. Also prune the build cache before a --force full-image build: --force already implies --no-cache, so the stale cache is dead weight that still loads the snapshotter's lock bookkeeping and has raced the layer export. Best-effort, never fails the build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions