mirror-get-aurora-dev-iso/.github/workflows/build-iso-testing.yml
inffy 12b8d1df47
feat(ci): setups containers policy (#89)
* chore: add ublue-os. pub key

* add runner-keys script

* modify the workflows

* rename the ublue-os key

* fix

* Apply batched suggestions from code review

Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>

---------

Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
2026-09-12 19:07:41 +00:00

38 lines
1.2 KiB
YAML

---
name: Build Testing ISOs
on:
merge_group:
pull_request:
branches:
- main
paths:
- ".github/workflows/build-iso-testing.yml"
- ".github/workflows/reusable-build-iso-anaconda.yml"
- ".github/setup-runner-keys.sh"
- "ghcr.io-ublue-os.pub"
- "iso_files/**"
workflow_call:
workflow_dispatch:
inputs:
upload_artifacts:
description: 'Upload ISOs as job artifacts'
type: boolean
default: false
upload_r2:
description: 'Upload ISOs to Cloudflare R2'
type: boolean
default: true
schedule:
- cron: "0 3 * * 3" # Push to testing bucket every week at 03:00 on Wednesdays
jobs:
build-iso-testing:
name: Build Testing ISOs
uses: ./.github/workflows/reusable-build-iso-anaconda.yml
secrets: inherit
with:
image_version: testing
# Upload artifacts on PR checks or if manually requested
upload_artifacts: ${{ github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && inputs.upload_artifacts) }}
# Upload to R2 on merge_group or if manually requested
upload_r2: ${{ github.event_name == 'merge_group' || (github.event_name == 'workflow_dispatch' && inputs.upload_r2) }}