mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use signed
This commit is contained in:
parent
bbb48d18e8
commit
96b528877b
3 changed files with 5 additions and 3 deletions
4
.github/workflows/iso.yml
vendored
4
.github/workflows/iso.yml
vendored
|
|
@ -75,12 +75,14 @@ jobs:
|
||||||
image_repo=${IMAGE_REPO} \
|
image_repo=${IMAGE_REPO} \
|
||||||
image_name=${IMAGE_NAME} \
|
image_name=${IMAGE_NAME} \
|
||||||
variant=${VARIANT}
|
variant=${VARIANT}
|
||||||
|
mkdir end_iso
|
||||||
|
mv ${IMAGE_NAME}-${IMAGE_VERSION}.iso end_iso/
|
||||||
|
|
||||||
- name: Upload ISO as artifact
|
- name: Upload ISO as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ISOs
|
name: ISOs
|
||||||
path: deploy.iso
|
path: end_iso/*.iso
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 0
|
retention-days: 0
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail"
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail"
|
||||||
append usr/share/anaconda/interactive-defaults.ks "sed -i 's/container-image-reference=.*/container-image-reference=@IMAGE_REPO_ESCAPED@\/@IMAGE_NAME@:@VERSION@/' /ostree/deploy/default/deploy/*.origin"
|
append usr/share/anaconda/interactive-defaults.ks "sed -i 's/container-image-reference=.*/container-image-reference=ostree-image-signed:docker://@IMAGE_REPO_ESCAPED@\/@IMAGE_NAME@:@VERSION@/' /ostree/deploy/default/deploy/*.origin"
|
||||||
append usr/share/anaconda/interactive-defaults.ks "%end"
|
append usr/share/anaconda/interactive-defaults.ks "%end"
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "-indev $(pwd)/boot.iso"
|
echo "-indev $(pwd)/boot.iso"
|
||||||
echo "-outdev $(pwd)/deploy.iso"
|
echo "-outdev $(pwd)/@IMAGE_NAME@-@VERSION@.iso"
|
||||||
echo "-boot_image any replay"
|
echo "-boot_image any replay"
|
||||||
echo "-volid Fedora-S-dvd-x86_64-39"
|
echo "-volid Fedora-S-dvd-x86_64-39"
|
||||||
echo "-joliet on"
|
echo "-joliet on"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue