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
commit609cd9736f2b0f1f1db01c7fab699197a20f78f9 (patch)
tree206f40fb94055c71e2d361ba68920a2aa9aab6de /.github/workflows/build.yml
parentf9a9e4f843a4f70b421af42964ff5254c0c44e0f (diff)
downloadAeroCore-OS-609cd9736f2b0f1f1db01c7fab699197a20f78f9.tar.gz
AeroCore-OS-609cd9736f2b0f1f1db01c7fab699197a20f78f9.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}
-