ci: try fix build
Some checks failed
/ build (push) Failing after 26s

This commit is contained in:
thislight 2024-07-13 20:49:43 +08:00
parent 6950743877
commit 56456b015b
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

View file

@ -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 \