diff --git a/.forgejo/workflows/build-fedora-40.yml b/.forgejo/workflows/build-fedora-40.yml index bea48ba..7bad170 100644 --- a/.forgejo/workflows/build-fedora-40.yml +++ b/.forgejo/workflows/build-fedora-40.yml @@ -19,15 +19,20 @@ jobs: image: fedora:40 steps: - name: Install Tools - run: 'dnf install -y --setopt install_weak_deps=False nodejs git buildah qemu-user-static' + run: 'dnf install -y --setopt install_weak_deps=False \ + nodejs git buildah qemu-user-static fuse-overlayfs' - name: Checkout uses: actions/checkout@v3 - name: Build Images run: | cd fedora-40 && \ - buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \ - buildah build --arch amd64 --manifest code.lightstands.xyz/standcoded/fedora:40 . && \ - buildah build --arch aarch64 --manifest code.lightstands.xyz/standcoded/fedora:40 . + buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs manifest create code.lightstands.xyz/standcoded/fedora:40 && \ + buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs build --arch amd64 \ + --pid=host --ipc=host --network=host --userns=host --uts=host --security-opt unmask=/proc --squash \ + --manifest code.lightstands.xyz/standcoded/fedora:40 . && \ + buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs build --arch aarch64 \ + --pid=host --ipc=host --network=host --userns=host --uts=host --security-opt unmask=/proc --squash \ + --manifest code.lightstands.xyz/standcoded/fedora:40 . - name: Push Images run: | buildah login code.lightstands.xyz \