Drop --layers from the build to avoid slow layer commits, and default
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/cron/ci Pipeline was successful

PULL_POLICY to missing so the base image is only re-pulled when absent.
This commit is contained in:
qpismont committed 2026-11-02 20:17:09 +01:00
1 parent 9275d2c4a4
commit 0920b351b7
2 files changed
+27 -15

No files matched your search

+2 -3
View File
@@ -3,8 +3,7 @@ set -euo pipefail
IMAGE_NAME="tintounn/my-fedora"
IMAGE_TAG="latest"
PULL_POLICY="${PULL_POLICY:-always}"
PULL_POLICY="${PULL_POLICY:-missing}"
echo "[INFO] Build de l'image (pull=${PULL_POLICY})..."
buildah bud --layers --pull="${PULL_POLICY}" --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .
buildah bud --pull="${PULL_POLICY}" --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .