Files
my-fedora/build.sh
T
qpismont 0920b351b7
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/cron/ci Pipeline was successful
Drop --layers from the build to avoid slow layer commits, and default
PULL_POLICY to missing so the base image is only re-pulled when absent.
2026-11-02 20:17:09 +01:00

10 lines
282 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
IMAGE_NAME="tintounn/my-fedora"
IMAGE_TAG="latest"
PULL_POLICY="${PULL_POLICY:-missing}"
echo "[INFO] Build de l'image (pull=${PULL_POLICY})..."
buildah bud --pull="${PULL_POLICY}" --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .