summaryrefslogtreecommitdiff
path: root/.github/workflows/build-installer-iso.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-installer-iso.yml')
-rw-r--r--.github/workflows/build-installer-iso.yml22
1 files changed, 5 insertions, 17 deletions
diff --git a/.github/workflows/build-installer-iso.yml b/.github/workflows/build-installer-iso.yml
index 1352080..da3ef10 100644
--- a/.github/workflows/build-installer-iso.yml
+++ b/.github/workflows/build-installer-iso.yml
@@ -26,11 +26,12 @@ jobs:
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
+ 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:43
- FEDORA_VERSION: "43"
+ LIVE_BASE_IMAGE: quay.io/fedora/fedora-kinoite:44
+ FEDORA_VERSION: "44"
OSTREE_IMAGE_REF: ${{ vars.OSTREE_IMAGE_REF }}
steps:
@@ -51,12 +52,9 @@ jobs:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- - name: Install just
- uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
-
- name: Prepare image references
run: |
- image_name="$(just image_name)"
+ image_name="${IMAGE_NAME,,}"
image_registry="${IMAGE_REGISTRY,,}"
echo "IMAGE_NAME=${image_name,,}" >> "$GITHUB_ENV"
echo "IMAGE_REGISTRY=${image_registry}" >> "$GITHUB_ENV"
@@ -152,18 +150,8 @@ jobs:
)
echo "iso-upload-dir=${iso_upload_dir}" >> "$GITHUB_OUTPUT"
- - name: Upload ISO checksum to Job Artifacts
- if: github.ref_name == 'testing'
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
- with:
- name: aerocore-os-installer-iso-${{ env.ISO_FILE_TAG }}-checksum
- path: ${{ steps.upload-directory.outputs.iso-upload-dir }}/*-CHECKSUM
- if-no-files-found: error
- retention-days: 1
- compression-level: 0
-
- name: Upload ISO and checksum to R2
- if: github.event_name == 'workflow_dispatch' && github.ref_name == 'main'
+ if: github.event_name == 'workflow_dispatch' && (github.ref_name == 'main' || github.ref_name == 'testing')
shell: bash
env:
RCLONE_CONFIG_R2_TYPE: s3