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 Feb 14, 2024
1 parent dbec3fe commit 6da23b5
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 @@ -46,6 +46,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 @@ -104,6 +109,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
sbom: true
Expand Down

0 comments on commit 6da23b5

Please sign in to comment.