From 6da23b565deec84c38ad29b0499479b86d597ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 4 Sep 2023 16:24:28 +0200 Subject: [PATCH] feat(docker): allow setting Dockerfile path --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c605605..49f32a1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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: @@ -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