From 57252bae1804218ba7f7cab4ad53405d599b0934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20D=C3=A9siles?= <1536672+jokesterfr@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:32:57 +0200 Subject: [PATCH] Github Actions: fix input for base build --- .github/workflows/docker-base-publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker-base-publish.yml b/.github/workflows/docker-base-publish.yml index 9e26118..21b7493 100644 --- a/.github/workflows/docker-base-publish.yml +++ b/.github/workflows/docker-base-publish.yml @@ -18,6 +18,12 @@ on: required: false type: string + target_platforms: + description: "Target platforms to build this image for" + required: false + default: "linux/amd64,linux/arm64" + type: string + jobs: build_and_publish: name: Build and publish docker @@ -49,6 +55,8 @@ jobs: - name: Build and push base ${{ inputs.os_flavour }} run: ./build.sh env: + TARGET_PLATFORM: ${{ inputs.target_platforms }} + PHP_VERSION: ${{ inputs.php_version }} OS_FLAVOUR: ${{ inputs.os_flavour }} BASE_ONLY: "true" PUSH: "true"