ci: change --cgroup-manger opt
Some checks failed
/ build (push) Failing after 47s

This commit is contained in:
thislight 2024-07-13 21:24:44 +08:00
parent 8fab2c4354
commit 9d37795e05
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

View file

@ -19,18 +19,18 @@ jobs:
image: fedora:40 image: fedora:40
steps: steps:
- name: Install Tools - name: Install Tools
run: 'dnf install -y --setopt install_weak_deps=False nodejs git buildah qemu-user-static fuse-overlayfs' run: 'dnf install -y --setopt install_weak_deps=False nodejs git buildah qemu-user-static fuse-overlayfs --exclude container-selinux'
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Images - name: Build Images
run: | run: |
cd fedora-40 && \ cd 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 --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora:40 && \
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs build --arch amd64 \ buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch amd64 \
--pid=host --ipc=host --network=host --userns=host --uts=host --squash \ --pid=host --ipc=host --network=host --userns=host --devpts=host --uts=host --squash \
--manifest code.lightstands.xyz/standcoded/fedora:40 . && \ --manifest code.lightstands.xyz/standcoded/fedora:40 . && \
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs build --arch aarch64 \ buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch aarch64 \
--pid=host --ipc=host --network=host --userns=host --uts=host --squash \ --pid=host --ipc=host --network=host --userns=host --devpts=host --uts=host --squash \
--manifest code.lightstands.xyz/standcoded/fedora:40 . --manifest code.lightstands.xyz/standcoded/fedora:40 .
- name: Push Images - name: Push Images
run: | run: |