diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-live-iso.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build-live-iso.yml b/.github/workflows/build-live-iso.yml index a364f6c..9270363 100644 --- a/.github/workflows/build-live-iso.yml +++ b/.github/workflows/build-live-iso.yml @@ -29,9 +29,6 @@ jobs: IMAGE_NAME: ${{ vars.IMAGE_NAME || github.event.repository.name }} IMAGE_TAG: ${{ inputs.image_tag || 'latest' }} ISO_FILE_TAG: ${{ github.ref_name == 'testing' && 'testing' || (inputs.image_tag || 'latest') }} - # Keep these aligned with the Fedora major used by the target bazzite-deck base image. - LIVE_BASE_IMAGE: quay.io/fedora/fedora-kinoite:44 - FEDORA_VERSION: "44" OSTREE_IMAGE_REF: ${{ vars.OSTREE_IMAGE_REF }} steps: @@ -67,6 +64,9 @@ jobs: - name: Pull AeroCore install image run: | sudo podman pull "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" + fedora_version="$(sudo podman run --rm --network none --entrypoint /usr/bin/rpm "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" -E %fedora)" + [[ "${fedora_version}" =~ ^[0-9]+$ ]] || { echo "Invalid Fedora version: ${fedora_version}" >&2; exit 1; } + echo "LIVE_BASE_IMAGE=ghcr.io/ublue-os/bazzite:stable-${fedora_version}" >> "$GITHUB_ENV" - name: Build installer ISO payload run: | |
