1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

don't create a separate ubi container

This commit is contained in:
Jason N. 2024-03-20 09:50:37 -04:00
parent 1e6b2d5bc0
commit f7d0f5bf5c
7 changed files with 61 additions and 49 deletions

View file

@ -67,6 +67,9 @@ inputs:
required: false
rootfs_size:
description: The size (in GiB) for the squashfs runtime volume
secrets_dir:
description: The location that will be mounted to /run/secrets
required: false
secure_boot_key_url:
description: Secure boot key that is installed from URL location
required: false
@ -175,7 +178,11 @@ runs:
vars="${vars} FLATPAK_REMOTE_REFS_DIR=\"${{ inputs.flatpak_remote_refs_dir }}\""
fi
fi
docker run --privileged --volume ${{ github.workspace }}:/github/workspace/ ${cache} ${image}:${tag} \
if [[ -n "${{ inputs.secrets }}" ]]
then
volumes="--volume ${{ inputs.secrets }}:/run/secrets"
fi
docker run --privileged ${volumes} --volume ${{ github.workspace }}:/github/workspace/ ${cache} ${image}:${tag} \
ADDITIONAL_TEMPLATES="${{ inputs.additional_templates }}" \
ARCH="${{ inputs.arch }}" \
DNF_CACHE="/cache/dnf" \