echo the arguments

This commit is contained in:
Neil Hanlon 2022-10-12 01:17:38 -04:00
parent 68cc85543b
commit 8dc1cc20b8
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -55,7 +55,7 @@ jobs:
IMAGE: ghcr.io/rocky-linux/empanadas-imagefactory:latest IMAGE: ghcr.io/rocky-linux/empanadas-imagefactory:latest
LIBVIRT_DEFAULT_URI: LIBVIRT_DEFAULT_URI:
run: | run: |
export VARIANT_ARGS="$(test -z '${{ matrix.type.variant }}' && '' || '--variant ${{ matrix.type.variant }}')" 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}" 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 \ 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 \ -v /var/run/libvirt:/var/run/libvirt:rw -v /var/lib/imagefactory:/var/lib/imagefactory:rw \