mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
add variant variable
This commit is contained in:
parent
870561781c
commit
9589d82053
2 changed files with 9 additions and 4 deletions
10
.github/workflows/iso.yml
vendored
10
.github/workflows/iso.yml
vendored
|
|
@ -13,6 +13,7 @@ env:
|
|||
IMAGE_ARCH: x86_64
|
||||
IMAGE_NAME: base-main
|
||||
IMAGE_REPO: ghcr.io/ublue-os
|
||||
VARIANT: Server
|
||||
|
||||
|
||||
jobs:
|
||||
|
|
@ -54,7 +55,8 @@ jobs:
|
|||
arch=${IMAGE_ARCH} \
|
||||
version=${IMAGE_VERSION} \
|
||||
image_repo=${IMAGE_REPO} \
|
||||
image_name=${IMAGE_NAME}
|
||||
image_name=${IMAGE_NAME} \
|
||||
variant=${VARIANT}
|
||||
|
||||
- name: Create boot.iso
|
||||
run: |
|
||||
|
|
@ -62,7 +64,8 @@ jobs:
|
|||
arch=${IMAGE_ARCH} \
|
||||
version=${IMAGE_VERSION} \
|
||||
image_repo=${IMAGE_REPO} \
|
||||
image_name=${IMAGE_NAME}
|
||||
image_name=${IMAGE_NAME} \
|
||||
variant=${VARIANT}
|
||||
|
||||
- name: Create deploy.iso
|
||||
run: |
|
||||
|
|
@ -70,7 +73,8 @@ jobs:
|
|||
arch=${IMAGE_ARCH} \
|
||||
version=${IMAGE_VERSION} \
|
||||
image_repo=${IMAGE_REPO} \
|
||||
image_name=${IMAGE_NAME}
|
||||
image_name=${IMAGE_NAME} \
|
||||
variant=${VARIANT}
|
||||
|
||||
- name: Upload ISO as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -3,13 +3,14 @@ version = 39
|
|||
base_dir = $(shell pwd)
|
||||
image_repo = ghcr.io/ublue-os
|
||||
image_name = base-main
|
||||
variant = Server
|
||||
|
||||
deploy.iso: boot.iso xorriso/input.txt $(image_name)-$(version)
|
||||
xorriso -dialog on < xorriso/input.txt
|
||||
|
||||
boot.iso: lorax_templates/set_installer.tmpl
|
||||
rm -Rf results
|
||||
lorax -p Fedora -v $(version) -r $(version) -t Server \
|
||||
lorax -p Fedora -v $(version) -r $(version) -t $(variant) \
|
||||
--isfinal --buildarch=$(arch) --volid=Fedora-S-dvd-$(arch)-$(version) \
|
||||
--macboot --noupgrade \
|
||||
--repo /etc/yum.repos.d/fedora.repo \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue