summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-09 16:53:52 +0800
committertranch <tranch.xiao@gmail.com>2026-07-09 17:01:14 +0800
commited40e44b610cac878f17fa4233d8e3d19b8d67bb (patch)
tree206f40fb94055c71e2d361ba68920a2aa9aab6de /.github/workflows/build.yml
parent4a99dd73617e0cd5784929b5007a0aa5e92c7dd5 (diff)
downloadAeroCore-OS-ed40e44b610cac878f17fa4233d8e3d19b8d67bb.tar.gz
AeroCore-OS-ed40e44b610cac878f17fa4233d8e3d19b8d67bb.zip
Configure AeroCore image mirrors
Add build-time mirror configuration for Flatpak and Homebrew, expose the related build args, and install an AeroCore-owned profile script to load mirror environment files. Rename the mirror configuration files from the Bazzite-prefixed names to AeroCore-prefixed names while keeping the upstream Bazzite helper reference intact. Verification: bash -n system_files/etc/profile.d/aerocore-mirrors.sh && bash -n build_files/build.sh
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index de2882d..90371c8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -69,6 +69,11 @@ jobs:
# This actually builds the container image
- name: Build Image
id: build-image
+ env:
+ BASE_IMAGE: ${{ vars.BASE_IMAGE || 'ghcr.io/ublue-os/bazzite-deck:stable' }}
+ FLATPAK_REMOTE_URL: ${{ vars.FLATPAK_REMOTE_URL }}
+ HOMEBREW_BOTTLE_DOMAIN: ${{ vars.HOMEBREW_BOTTLE_DOMAIN }}
+ HOMEBREW_API_DOMAIN: ${{ vars.HOMEBREW_API_DOMAIN }}
run: |
sudo -E $(command -v just) build \
${IMAGE_NAME} \
@@ -158,4 +163,3 @@ jobs:
DIGEST: ${{ steps.push-image.outputs.digest }}
run: |
cosign sign -y --key env://COSIGN_PRIVATE_KEY ${IMAGE_REGISTRY}/${IMAGE_NAME}@${DIGEST}
-