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 0e5e257 commit 47714b0Copy full SHA for 47714b0
.github/workflows/docker-build.yml
@@ -27,6 +27,10 @@ on:
27
description: 'Push Docker Image to Registry'
28
default: false
29
type: boolean
30
+ context:
31
+ description: 'Path to Docker Build Context'
32
+ default: '.'
33
+ type: string
34
registry:
35
description: 'Docker Registry'
36
default: 'docker.io'
@@ -70,7 +74,7 @@ jobs:
70
74
if: ${{ inputs.push }}
71
75
uses: docker/build-push-action@v6
72
76
with:
73
- context: .
77
+ context: ${{ inputs.context }}
78
file: ${{ inputs.dockerfile }}
79
platforms: linux/amd64,linux/arm64
80
push: ${{ inputs.push }}
0 commit comments