From 1802486147cbd31e9627fa38950b569042ae3c48 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sun, 13 Apr 2025 20:16:19 +0200 Subject: [PATCH] Actualiser .gitea/workflows/build-push.yaml --- .gitea/workflows/build-push.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 8c5c75a..85cc53d 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -49,6 +49,11 @@ jobs: # Stocker la valeur dans une variable d'environnement echo "VERSION=$VERSION" >> $GITEA_ENV + - name: Configure Buildah storage + run: | + sudo mkdir -p /var/lib/containers/storage + echo -e "[storage]\ndriver = \"overlay\"" | sudo tee /etc/containers/storage.conf + sudo buildah --storage-driver overlay2 info - name: Build image using buildah id: build-image @@ -59,9 +64,11 @@ jobs: layers: true containerfiles: | ./Dockerfile - extra-args: --storage-driver vfs + extra-args: --storage-driver=overlay --isolation=chroot env: - STORAGE_DRIVER: vfs + STORAGE_DRIVER: overlay + BUILDAH_ISOLATION: "chroot" + - name: Canceled building if: cancelled()