From 7d89e223dec1c590318db3264b927fb0ddedc65b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 23 Mar 2024 11:28:42 -0400 Subject: [PATCH] wip --- .github/workflows/build-image.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 2985eb4d..de7e67a6 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -40,11 +40,16 @@ jobs: run: | podman build --security-opt=label=disable --cap-add=all --device /dev/fuse \ -t localhost/${{ matrix.os }}-${{ matrix.version }}-bootc-wrapped -f Containerfile.${{ matrix.os }}-${{ matrix.version }} + #cat > Containerfile << EOF + #FROM quay.io/centos-bootc/centos-bootc:stream9 + #RUN skopeo copy docker://quay.io/fedora/fedora:39 oci-archive:/nested.ociarchive + #EOF + # podman build -t localhost/${{ matrix.os }}-${{ matrix.version }}-bootc-wrapped . - name: Extract wrapped archive run: | - id=$(podman create --entrypoint=/none localhost/${{ matrix.os }}-${{ matrix.version }}-bootc-wrapped) - podman cp ${id}/nested.ociarchive . + id=$(podman create --log-level=debug --entrypoint=/none localhost/${{ matrix.os }}-${{ matrix.version }}-bootc-wrapped:latest) + podman cp ${id}:nested.ociarchive . skopeo copy oci-archive:nested.ociarchive containers-storage:localhost/${{ matrix.os }}-${{ matrix.version }}-bootc - name: Run image