Refactor CI configuration to include volume mapping and streamline build process
ci/woodpecker/push/ci Pipeline failed

This commit is contained in:
2025-10-15 19:45:19 +02:00
parent 98d1a20359
commit 961e38ec1e
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -5,6 +5,9 @@ IMAGE_NAME="tintounn/my-fedora"
IMAGE_TAG="latest"
OUTPUT_DIR="output/"
export TMPDIR=/data/buildah
mkdir -p /data/buildah
echo "[INFO] Build de l'image avec sudo..."
buildah bud -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .
buildah TMPDIR=/data/buildah bud --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .