diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 2985eb4d..acdb3f97 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -38,12 +38,17 @@ jobs: - name: Build 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 }} + #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) + 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