diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index a66d5f0..372ed88 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -52,7 +52,6 @@ jobs: permissions: contents: read packages: write - steps: - name: Install make and git run: dnf install -y make git @@ -67,12 +66,18 @@ jobs: - name: Install dependencies 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 run: | make container/${IMAGE_NAME}-${IMAGE_VERSION} \ arch=${IMAGE_ARCH} \ version=${IMAGE_VERSION} \ - image_repo=${IMAGE_REPO} \ + image_repo=${{ steps.registry_case.outputs.lowercase }} \ image_name=${IMAGE_NAME} \ variant=${VARIANT} @@ -81,7 +86,7 @@ jobs: make boot.iso \ arch=${IMAGE_ARCH} \ version=${IMAGE_VERSION} \ - image_repo=${IMAGE_REPO} \ + image_repo=${{ steps.registry_case.outputs.lowercase }} \ image_name=${IMAGE_NAME} \ variant=${VARIANT} @@ -90,7 +95,7 @@ jobs: make ${IMAGE_NAME}-${IMAGE_VERSION}.iso \ arch=${IMAGE_ARCH} \ version=${IMAGE_VERSION} \ - image_repo=${IMAGE_REPO} \ + image_repo=${{ steps.registry_case.outputs.lowercase }} \ image_name=${IMAGE_NAME} \ variant=${VARIANT} mkdir end_iso @@ -99,7 +104,7 @@ jobs: - name: Upload ISO as artifact uses: actions/upload-artifact@v4 with: - name: ISOs + name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}.iso path: end_iso/*.iso if-no-files-found: error retention-days: 0