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 9c840fb commit aec9054Copy full SHA for aec9054
.github/workflows/docker-publish.yml
@@ -30,6 +30,13 @@ on:
30
required: false
31
default: './Dockerfile'
32
type: string
33
+ platforms:
34
+ # https://docs.docker.com/build/building/multi-platform/
35
+ # https://docs.docker.com/reference/cli/docker/buildx/build/#platform
36
+ description: 'Multi-platform builds'
37
+ required: false
38
+ default: linux/amd64,linux/arm64
39
+ type: string
40
41
jobs:
42
build:
@@ -80,7 +87,7 @@ jobs:
80
87
context: ${{ inputs.context }}
81
88
# https://docs.docker.com/build/concepts/dockerfile/#filename
82
89
file: ${{ inputs.file }}
83
- platforms: linux/amd64,linux/arm64
90
+ platforms: ${{ inputs.platforms }}
84
91
push: ${{ inputs.push }}
85
92
tags: ${{ steps.meta.outputs.tags }}
86
93
# https://docs.docker.com/build/metadata/annotations/
0 commit comments