summaryrefslogtreecommitdiff
path: root/.github/workflows/build-installer-iso.yml
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-08-26 10:59:21 +0800
committertranch <tranch.xiao@gmail.com>2026-08-26 10:59:21 +0800
commit10411b5e32b78f57b6ad995c434cfc4fc390d689 (patch)
tree431b9a7556ebe191314e34ed20bc7a507bfdbd42 /.github/workflows/build-installer-iso.yml
parentc7a47b2ba1cfc17348e729c1b7a6689bd5c9c95d (diff)
downloadAeroCore-OS-10411b5e32b78f57b6ad995c434cfc4fc390d689.tar.gz
AeroCore-OS-10411b5e32b78f57b6ad995c434cfc4fc390d689.zip
fix(config): make local dotenv optional
Load a private .env when present, but keep CI configuration in GitHub runtime variables and retain the tracked template as a guide.
Diffstat (limited to '.github/workflows/build-installer-iso.yml')
-rw-r--r--.github/workflows/build-installer-iso.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/build-installer-iso.yml b/.github/workflows/build-installer-iso.yml
index 9073077..da3ef10 100644
--- a/.github/workflows/build-installer-iso.yml
+++ b/.github/workflows/build-installer-iso.yml
@@ -26,6 +26,7 @@ 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.
@@ -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"