Merge pull request #131 from Gabisonfire/hotfix/scope
Hotfix the parameter passthrough
This commit is contained in:
9
.github/workflows/base_image_workflow.yaml
vendored
9
.github/workflows/base_image_workflow.yaml
vendored
@@ -10,6 +10,11 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
# matrix cannot read from workflow_call inputs, so load them into the global env scope
|
||||||
|
env:
|
||||||
|
CONTEXT: ${{ github.event.inputs.CONTEXT }}
|
||||||
|
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-images:
|
build-and-push-images:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -24,8 +29,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- context: ${{ github.event.inputs.CONTEXT }}
|
- context: ${{ env.CONTEXT }}
|
||||||
image_name: ${{ github.event.inputs.IMAGE_NAME }}
|
image_name: ${{ env.IMAGE_NAME }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
name: Build - ${{ matrix.image_name }}
|
name: Build - ${{ matrix.image_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user