Skip to content

Commit

Permalink
feat(docker): allow setting Dockerfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage committed Sep 4, 2023
1 parent 5171117 commit f2adc29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ on:
required: false
default: "[]"
type: string
file:
description: "Path to the Dockerfile. (default `Dockerfile`)"
required: false
default: "Dockerfile"
type: string

jobs:
docker:
Expand Down Expand Up @@ -95,6 +100,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platform }}
build-args: ${{ inputs.build_args }}
file: ${{ inputs.file }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=image,name=${{ inputs.registry }}/${{ inputs.image_name }},push-by-digest=${{ inputs.push }},name-canonical=true,push=${{ inputs.push }}
Expand Down

0 comments on commit f2adc29

Please sign in to comment.