This commit is contained in:
parent
8febe54523
commit
6b926bc125
1 changed files with 5 additions and 7 deletions
|
@ -17,10 +17,8 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: linux-lg
|
runs-on: linux-lg
|
||||||
container:
|
container:
|
||||||
image: fedora:40
|
image: code.lightstands.xyz/standcoded/fedora:40
|
||||||
steps:
|
steps:
|
||||||
- name: Install Tools
|
|
||||||
run: 'dnf install -y --setopt install_weak_deps=False nodejs git buildah qemu-user-static qemu-user-binfmt fuse-overlayfs --exclude container-selinux'
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Fulfill Package Manager Cache
|
- name: Fulfill Package Manager Cache
|
||||||
|
@ -28,8 +26,8 @@ jobs:
|
||||||
- name: Build Minimal Images
|
- name: Build Minimal Images
|
||||||
run: |
|
run: |
|
||||||
cd fedora-40-minimal && \
|
cd fedora-40-minimal && \
|
||||||
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora-minimal:40 && \
|
buildah manifest create code.lightstands.xyz/standcoded/fedora-minimal:40 && \
|
||||||
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch aarch64 \
|
buildah build --arch aarch64 \
|
||||||
--pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
|
--pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
|
||||||
--manifest code.lightstands.xyz/standcoded/fedora-minimal:40 .
|
--manifest code.lightstands.xyz/standcoded/fedora-minimal:40 .
|
||||||
env:
|
env:
|
||||||
|
@ -37,8 +35,8 @@ jobs:
|
||||||
- name: Build Images
|
- name: Build Images
|
||||||
run: |
|
run: |
|
||||||
cd fedora-40 && \
|
cd fedora-40 && \
|
||||||
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
||||||
buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch aarch64 \
|
buildah build --arch aarch64 \
|
||||||
--pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
|
--pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
|
||||||
--manifest code.lightstands.xyz/standcoded/fedora:40 .
|
--manifest code.lightstands.xyz/standcoded/fedora:40 .
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue