mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-30 21:14:14 +00:00
Add context-subdir input
Adds a `context-subdir` input which gets appended to the context URL. This new input is ignored (with a warning) if the user gives a non-default `context` input such as a path. Signed-off-by: actualben <actualben@users.noreply.github.com>
This commit is contained in:
parent
b1aeb1103e
commit
e946f387af
4 changed files with 62 additions and 2 deletions
|
@ -28,6 +28,9 @@ inputs:
|
|||
context:
|
||||
description: "Build's context is the set of files located in the specified PATH or URL"
|
||||
required: false
|
||||
context-subdir:
|
||||
description: "Subdirectory of the git repo to use as the docker build context (when using a URL-based context)"
|
||||
required: false
|
||||
file:
|
||||
description: "Path to the Dockerfile"
|
||||
required: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue