Skip to content

Commit

Permalink
Add context input for build image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything committed Jul 10, 2024
1 parent 78c736f commit 38e1e82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-push-multiarch-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
required: false
type: string
default: Dockerfile
context:
required: false
type: string
default: .
buildArgs:
required: false
type: string
Expand Down Expand Up @@ -78,7 +82,7 @@ jobs:
uses: docker/build-push-action@v6
with:
file: ${{ inputs.dockerfilepath }}
context: .
context: ${{ inputs.context }}
platforms: "linux/${{ matrix.arch }}"
load: true
provenance: false
Expand Down

0 comments on commit 38e1e82

Please sign in to comment.