mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
add parameter
This commit is contained in:
parent
383427c619
commit
9982036fc7
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ export EXTRA_BOOT_PARAMS :=
|
||||||
export IMAGE_NAME := base
|
export IMAGE_NAME := base
|
||||||
export IMAGE_REPO := quay.io/fedora-ostree-desktops
|
export IMAGE_REPO := quay.io/fedora-ostree-desktops
|
||||||
export IMAGE_TAG = $(VERSION)
|
export IMAGE_TAG = $(VERSION)
|
||||||
|
export ONLINE := false
|
||||||
REPOS := $(subst :,\:,$(wildcard /etc/yum.repos.d/*.repo))
|
REPOS := $(subst :,\:,$(wildcard /etc/yum.repos.d/*.repo))
|
||||||
export ROOTFS_SIZE := 4
|
export ROOTFS_SIZE := 4
|
||||||
export VARIANT := Server
|
export VARIANT := Server
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,10 @@ inputs:
|
||||||
make_target:
|
make_target:
|
||||||
description: "Overrides the default make target"
|
description: "Overrides the default make target"
|
||||||
required: false
|
required: false
|
||||||
|
online:
|
||||||
|
description: Whether to download the container image on boot instead of storing the image on the ISO
|
||||||
|
required: false
|
||||||
|
default: "false"
|
||||||
repos:
|
repos:
|
||||||
description: List of repo files for Lorax to use
|
description: List of repo files for Lorax to use
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -211,6 +215,7 @@ runs:
|
||||||
IMAGE_REPO="${{ inputs.image_repo }}" \
|
IMAGE_REPO="${{ inputs.image_repo }}" \
|
||||||
IMAGE_TAG="${{ inputs.image_tag || inputs.version }}" \
|
IMAGE_TAG="${{ inputs.image_tag || inputs.version }}" \
|
||||||
ISO_NAME=/github/workspace/${{ inputs.iso_name }} \
|
ISO_NAME=/github/workspace/${{ inputs.iso_name }} \
|
||||||
|
ONLINE=${{ inputs.online }} \
|
||||||
${{ inputs.repos && format('REPOS="{0}"', inputs.repos) || '' }} \
|
${{ inputs.repos && format('REPOS="{0}"', inputs.repos) || '' }} \
|
||||||
SECURE_BOOT_KEY_URL="${{ inputs.secure_boot_key_url }}" \
|
SECURE_BOOT_KEY_URL="${{ inputs.secure_boot_key_url }}" \
|
||||||
VARIANT="${{ inputs.variant }}" \
|
VARIANT="${{ inputs.variant }}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue