From 1df0801a61c3341cad7e495229e151b5241cdc6f Mon Sep 17 00:00:00 2001 From: PythonGermany <97847597+PythonGermany@users.noreply.github.com> Date: Thu, 11 Dec 2025 22:17:28 +0100 Subject: [PATCH] ci: Add platform input for custom action workflow (#1437) --- .github/workflows/publish-custom.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-custom.yml b/.github/workflows/publish-custom.yml index 02426ec4..cb5370bc 100644 --- a/.github/workflows/publish-custom.yml +++ b/.github/workflows/publish-custom.yml @@ -5,6 +5,15 @@ on: inputs: tag: description: Custom tag to publish + platforms: + description: Platforms to publish to (comma separated list) + default: linux/amd64 + type: choice + options: + - linux/amd64 + - linux/arm/v7 + - linux/arm64 + jobs: publish-custom: runs-on: ubuntu-latest @@ -33,7 +42,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v6 with: - platforms: linux/amd64 + platforms: ${{ inputs.platforms }} pull: true push: true tags: ${{ steps.meta.outputs.tags }}