ci: try fix fedora-minimal manifest not found err
Some checks failed
/ build (push) Failing after 29s
Some checks failed
/ build (push) Failing after 29s
This commit is contained in:
parent
6b926bc125
commit
2f5e0924e6
1 changed files with 8 additions and 11 deletions
|
@ -23,6 +23,9 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Fulfill Package Manager Cache
|
- name: Fulfill Package Manager Cache
|
||||||
run: dnf makecache -y --releasever 40
|
run: dnf makecache -y --releasever 40
|
||||||
|
- name: Sign in to Image Index
|
||||||
|
run: buildah login code.lightstands.xyz \
|
||||||
|
--username ${{ env.GITHUB_ACTOR }} --password ${{ secrets.PUBLICATION_TOKEN }}
|
||||||
- name: Build Minimal Images
|
- name: Build Minimal Images
|
||||||
run: |
|
run: |
|
||||||
cd fedora-40-minimal && \
|
cd fedora-40-minimal && \
|
||||||
|
@ -30,21 +33,15 @@ jobs:
|
||||||
buildah 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:
|
- name: Push Minimal Images
|
||||||
BUILDAH_ISOLATION: chroot
|
run: buildah manifest push code.lightstands.xyz/standcoded/fedora-minimal:40 --all
|
||||||
- name: Build Images
|
- name: Build Complete Images
|
||||||
run: |
|
run: |
|
||||||
cd fedora-40 && \
|
cd fedora-40 && \
|
||||||
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
||||||
buildah 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:
|
- name: Push Complete Images
|
||||||
BUILDAH_ISOLATION: chroot
|
run: buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all
|
||||||
- name: Push Images
|
|
||||||
run: |
|
|
||||||
buildah login code.lightstands.xyz \
|
|
||||||
--username ${{ env.GITHUB_ACTOR }} --password ${{ secrets.PUBLICATION_TOKEN }} && \
|
|
||||||
buildah manifest push code.lightstands.xyz/standcoded/fedora-minimal:40 --all && \
|
|
||||||
buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue