We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ae0031 commit ec0c504Copy full SHA for ec0c504
.github/workflows/_docker-build-push.yml
@@ -22,6 +22,11 @@ on:
22
dockerfile-path:
23
required: false
24
type: string
25
+ build-contexts:
26
+ description: 'Override Docker build contexts; newline-separated name=path (default: proto=proto)'
27
+ required: false
28
+ type: string
29
+ default: 'proto=proto'
30
secrets:
31
ARM_RUNNER_HOSTNAME:
32
required: true
@@ -93,8 +98,7 @@ jobs:
93
98
with:
94
99
context: ${{ inputs.docker-context-path || format('{0}/', inputs.service-name) }}
95
100
file: ${{ inputs.dockerfile-path || format('{0}/Dockerfile', inputs.service-name) }}
96
- build-contexts: |
97
- proto=proto
101
+ build-contexts: ${{ inputs.build-contexts }}
102
push: ${{ steps.tags_extractor.outputs.tags != '' }}
103
tags: ${{ steps.tags_extractor.outputs.tags }}
104
platforms: |
0 commit comments