diff --git a/.github/workflows/bootc.yml b/.github/workflows/bootc.yml index 41ce5bb2..c4539023 100644 --- a/.github/workflows/bootc.yml +++ b/.github/workflows/bootc.yml @@ -10,6 +10,9 @@ on: branches: [main] workflow_dispatch: {} +env: + CONTAINER_FIXTURE: registry.gitlab.com/bootc-org/tests/container-fixtures/var-hardlinked + jobs: build-c9s: runs-on: ubuntu-latest @@ -62,4 +65,9 @@ jobs: sudo podman run --rm -ti --privileged -v /:/target -v /var/lib/containers:/var/lib/containers -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \ quay.io/centos-bootc/centos-bootc-dev:stream9 bootc install to-filesystem \ --karg=foo=bar --disable-selinux --replace=alongside /target + sudo chattr -i / /ostree/deploy/default/deploy + sudo rm /ostree/deploy/default -rf + sudo podman run --rm -ti --privileged -v /:/target -v /var/lib/containers:/var/lib/containers -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \ + ${{ env.CONTAINER_FIXTURE }} bootc install to-filesystem \ + --disable-selinux --replace=alongside /target