We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b92bc commit 94003f8Copy full SHA for 94003f8
.github/workflows/docker-build.yml
@@ -39,6 +39,10 @@ on:
39
description: "Enable Hadolint"
40
default: true
41
type: boolean
42
+ platforms:
43
+ description: "Build platforms"
44
+ default: "linux/amd64,linux/arm64"
45
+ type: string
46
secrets:
47
username:
48
required: false
@@ -71,7 +75,7 @@ jobs:
71
75
with:
72
76
context: ${{ inputs.context }}
73
77
file: ${{ inputs.dockerfile }}
74
- platforms: linux/amd64,linux/arm64
78
+ platforms: ${{ inputs.platforms }}
79
push: ${{ inputs.push }}
80
tags: ${{ inputs.image-name }}:${{ inputs.image-tag }}
81
0 commit comments