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

add ubi input

This commit is contained in:
Jason N. 2024-04-10 16:50:57 -04:00
parent d3d40c26eb
commit 1a23a968e4
2 changed files with 10 additions and 6 deletions

View file

@ -84,6 +84,9 @@ inputs:
skopeo_cache_key:
description: Overrides the skopeo cache key
required: false
ubi:
description: Use the UBI version of the builder image
required: false
variant:
description: "Source container variant. Available options can be found by running `dnf provides system-release`. Variant will be the third item in the package name. Example: `fedora-release-kinoite-39-34.noarch` will be kinonite"
required: true
@ -203,7 +206,7 @@ runs:
volumes="--volume ${{ inputs.secrets_dir }}:/run/secrets"
fi
# RHEL
if [[ ${{ inputs.version }} -lt 30 ]]
if [[ "${{ inputs.ubi }}" == "true" ]]
then
image=${image}-ubi
fi