diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9e5c662..17eb6a0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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: @@ -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 }}