mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
eww
This commit is contained in:
parent
87a7b373d7
commit
c4456b0342
1 changed files with 12 additions and 5 deletions
17
.github/workflows/build-and-test.yml
vendored
17
.github/workflows/build-and-test.yml
vendored
|
|
@ -68,7 +68,8 @@ jobs:
|
||||||
- 38
|
- 38
|
||||||
- 39
|
- 39
|
||||||
outputs:
|
outputs:
|
||||||
iso_name: ${{ steps.build.outputs.iso_name }}
|
iso_name-38: ${{ steps.save_output.outputs.iso_name-38 }}
|
||||||
|
iso_name-39: ${{ steps.save_output.outputs.iso_name-39 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -101,6 +102,12 @@ jobs:
|
||||||
enrollment_password: ${{ env.ENROLLMENT_PASSWORD }}
|
enrollment_password: ${{ env.ENROLLMENT_PASSWORD }}
|
||||||
iso_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ matrix.version }}.iso
|
iso_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ matrix.version }}.iso
|
||||||
|
|
||||||
|
- name: Save output
|
||||||
|
id: save_output
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "iso_name-${{ matrix.version }}=${{ steps.build.outputs.iso_name}}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Upload ISO as artifact
|
- name: Upload ISO as artifact
|
||||||
id: upload
|
id: upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
@ -142,16 +149,16 @@ jobs:
|
||||||
- name: Download generated ISO
|
- name: Download generated ISO
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.build-and-push-iso.outputs.iso_name }}
|
name: ${{ needs['build-and-push-iso']['outputs'][format('iso_name-{0}', matrix.version)] }}
|
||||||
|
|
||||||
- name: Verify ISO
|
- name: Verify ISO
|
||||||
run: |
|
run: |
|
||||||
checkisomd5 ${{ needs.build-and-push-iso.outputs.iso_name }}
|
checkisomd5 ${{ needs['build-and-push-iso']['outputs'][format('iso_name-{0}', matrix.version)] }}
|
||||||
sha256sum -c ${{ needs.build-and-push-iso.outputs.iso_name }}-CHECKSUM
|
sha256sum -c ${{ needs['build-and-push-iso']['outputs'][format('iso_name-{0}', matrix.version)] }}-CHECKSUM
|
||||||
|
|
||||||
- name: Run ISO checks
|
- name: Run ISO checks
|
||||||
run: |
|
run: |
|
||||||
mv ${{ needs.build-and-push-iso.outputs.iso_name }} deploy.iso
|
mv ${{ needs['build-and-push-iso']['outputs'][format('iso_name-{0}', matrix.version)] }} deploy.iso
|
||||||
make test-iso VERSION=${{ matrix.version }}
|
make test-iso VERSION=${{ matrix.version }}
|
||||||
|
|
||||||
- name: Add Kickstart and Grub options to ISO
|
- name: Add Kickstart and Grub options to ISO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue