Actualiser .gitea/workflows/build-push.yaml
This commit is contained in:
@@ -49,6 +49,11 @@ jobs:
|
|||||||
# Stocker la valeur dans une variable d'environnement
|
# Stocker la valeur dans une variable d'environnement
|
||||||
echo "VERSION=$VERSION" >> $GITEA_ENV
|
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
|
- name: Build image using buildah
|
||||||
id: build-image
|
id: build-image
|
||||||
@@ -59,9 +64,11 @@ jobs:
|
|||||||
layers: true
|
layers: true
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Dockerfile
|
./Dockerfile
|
||||||
extra-args: --storage-driver vfs
|
extra-args: --storage-driver=overlay --isolation=chroot
|
||||||
env:
|
env:
|
||||||
STORAGE_DRIVER: vfs
|
STORAGE_DRIVER: overlay
|
||||||
|
BUILDAH_ISOLATION: "chroot"
|
||||||
|
|
||||||
|
|
||||||
- name: Canceled building
|
- name: Canceled building
|
||||||
if: cancelled()
|
if: cancelled()
|
||||||
|
|||||||
Reference in New Issue
Block a user