1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 02:47:56 +01:00

Merge branch 'main' into anaconda_web_installer

This commit is contained in:
Noel Miller 2024-02-15 13:27:58 -06:00 committed by GitHub
commit 4b6af19c60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,6 @@ jobs:
permissions: permissions:
contents: read contents: read
packages: write packages: write
steps: steps:
- name: Install make and git - name: Install make and git
run: dnf install -y make git run: dnf install -y make git
@ -67,12 +66,18 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: make install-deps run: make install-deps
- name: Lowercase Registry
id: registry_case
uses: ASzc/change-string-case-action@v6
with:
string: ${{ env.IMAGE_REPO }}
- name: Download image - name: Download image
run: | run: |
make container/${IMAGE_NAME}-${IMAGE_VERSION} \ make container/${IMAGE_NAME}-${IMAGE_VERSION} \
arch=${IMAGE_ARCH} \ arch=${IMAGE_ARCH} \
version=${IMAGE_VERSION} \ version=${IMAGE_VERSION} \
image_repo=${IMAGE_REPO} \ image_repo=${{ steps.registry_case.outputs.lowercase }} \
image_name=${IMAGE_NAME} \ image_name=${IMAGE_NAME} \
variant=${VARIANT} variant=${VARIANT}
@ -81,7 +86,7 @@ jobs:
make boot.iso \ make boot.iso \
arch=${IMAGE_ARCH} \ arch=${IMAGE_ARCH} \
version=${IMAGE_VERSION} \ version=${IMAGE_VERSION} \
image_repo=${IMAGE_REPO} \ image_repo=${{ steps.registry_case.outputs.lowercase }} \
image_name=${IMAGE_NAME} \ image_name=${IMAGE_NAME} \
variant=${VARIANT} variant=${VARIANT}
@ -90,7 +95,7 @@ jobs:
make ${IMAGE_NAME}-${IMAGE_VERSION}.iso \ make ${IMAGE_NAME}-${IMAGE_VERSION}.iso \
arch=${IMAGE_ARCH} \ arch=${IMAGE_ARCH} \
version=${IMAGE_VERSION} \ version=${IMAGE_VERSION} \
image_repo=${IMAGE_REPO} \ image_repo=${{ steps.registry_case.outputs.lowercase }} \
image_name=${IMAGE_NAME} \ image_name=${IMAGE_NAME} \
variant=${VARIANT} variant=${VARIANT}
mkdir end_iso mkdir end_iso
@ -99,7 +104,7 @@ jobs:
- 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: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}.iso
path: end_iso/*.iso path: end_iso/*.iso
if-no-files-found: error if-no-files-found: error
retention-days: 0 retention-days: 0