From 6988108d85ada77a67c49592f18af4fe4eadcce2 Mon Sep 17 00:00:00 2001 From: JSONbored <49853598+JSONbored@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:35:41 -0600 Subject: [PATCH] feat(ci): expose manual publish targets --- .github/workflows/build.yml | 13 ++++++++++++- .github/workflows/check-upstream.yml | 2 +- .github/workflows/publish-release.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 689ce8b..6a9e1fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,17 @@ on: - template-aio.xml - tests/** - upstream.toml + #checkov:skip=CKV_GHA_7: manual dispatch inputs are constrained maintainer controls. workflow_dispatch: + inputs: + publish_target: + description: Optional maintainer image publish target + required: false + default: none + type: choice + options: + - none + - aio permissions: contents: read @@ -64,7 +74,7 @@ concurrency: jobs: aio-build: - uses: JSONbored/aio-fleet/.github/workflows/aio-build.yml@4caf10de3d95ab99b67f65766cd52dd80cb7f75c + uses: JSONbored/aio-fleet/.github/workflows/aio-build.yml@85cd5de8869f371da44f1577117275511ead01c0 permissions: contents: read packages: write @@ -85,6 +95,7 @@ jobs: integration_pytest_args: tests/integration -m integration run_extended_integration: false extended_integration_pytest_args: "" + manual_publish_target: ${{ github.event_name == 'workflow_dispatch' && inputs.publish_target || 'none' }} generator_check_command: "" upstream_digest_arg: UPSTREAM_IMAGE_DIGEST catalog_published: false diff --git a/.github/workflows/check-upstream.yml b/.github/workflows/check-upstream.yml index b59a176..3b4ecf8 100644 --- a/.github/workflows/check-upstream.yml +++ b/.github/workflows/check-upstream.yml @@ -14,7 +14,7 @@ concurrency: jobs: check-upstream: - uses: JSONbored/aio-fleet/.github/workflows/aio-check-upstream.yml@4caf10de3d95ab99b67f65766cd52dd80cb7f75c + uses: JSONbored/aio-fleet/.github/workflows/aio-check-upstream.yml@85cd5de8869f371da44f1577117275511ead01c0 permissions: contents: write pull-requests: write diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5f730d7..3342121 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -8,7 +8,7 @@ permissions: jobs: publish-release: - uses: JSONbored/aio-fleet/.github/workflows/aio-publish-release.yml@4caf10de3d95ab99b67f65766cd52dd80cb7f75c + uses: JSONbored/aio-fleet/.github/workflows/aio-publish-release.yml@85cd5de8869f371da44f1577117275511ead01c0 permissions: actions: read contents: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57748e6..08e381d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ permissions: jobs: prepare-release: - uses: JSONbored/aio-fleet/.github/workflows/aio-prepare-release.yml@4caf10de3d95ab99b67f65766cd52dd80cb7f75c + uses: JSONbored/aio-fleet/.github/workflows/aio-prepare-release.yml@85cd5de8869f371da44f1577117275511ead01c0 permissions: contents: write pull-requests: write