Skip to content

Commit

Permalink
Github Actions: fix input for base build
Browse files Browse the repository at this point in the history
  • Loading branch information
jokesterfr committed Oct 25, 2024
1 parent 2e39c2f commit 57252ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-base-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 57252ba

Please sign in to comment.