mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use download action
This commit is contained in:
parent
1fd8767afe
commit
e0292ee98b
1 changed files with 6 additions and 3 deletions
9
.github/workflows/build-and-test.yml
vendored
9
.github/workflows/build-and-test.yml
vendored
|
|
@ -85,8 +85,6 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
outputs:
|
|
||||||
artifact_url: ${{ steps.upload.outputs.artifact-url }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -160,9 +158,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
qemu-img create -f qcow2 disk.qcow2 50G
|
qemu-img create -f qcow2 disk.qcow2 50G
|
||||||
|
|
||||||
|
- name: Download generated ISO
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}.iso
|
||||||
|
|
||||||
|
|
||||||
- name: Add anaconda.ks to ISO
|
- name: Add anaconda.ks to ISO
|
||||||
run: |
|
run: |
|
||||||
wget --retry-on-http-error=404 ${{ needs.build-and-push-iso.outputs.artifact_url }}
|
|
||||||
ls
|
ls
|
||||||
unzip *.zip
|
unzip *.zip
|
||||||
cat << EOF > ks.cfg
|
cat << EOF > ks.cfg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue