this needs to be set in the container
This commit is contained in:
parent
4fcb0f39f5
commit
b3895856f9
|
@ -56,10 +56,9 @@ jobs:
|
|||
- name: Build image using empanadas
|
||||
env:
|
||||
IMAGE: ghcr.io/rocky-linux/empanadas-imagefactory:latest
|
||||
LIBVIRT_DEFAULT_URI:
|
||||
run: |
|
||||
export VARIANT_ARGS="$(test -z '${{ matrix.type.variant }}' && echo '' || echo '--variant ${{ matrix.type.variant }}')"
|
||||
export CMD="build-image --version ${{ matrix.version.major }} --type ${{ matrix.type.name }} ${VARIANT_ARGS}"
|
||||
sudo podman run --rm --privileged --security-opt label=disable --device fuse \
|
||||
-v /var/run/libvirt:/var/run/libvirt:rw -v /var/lib/imagefactory:/var/lib/imagefactory:rw \
|
||||
$IMAGE $CMD
|
||||
-e LIBVIRT_DEFAULT_URI $IMAGE $CMD
|
||||
|
|
Loading…
Reference in New Issue