mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-26 20:59:04 +00:00
Merge pull request #16 from docker/clarify-paths
Clarify dockerfile and path inputs
This commit is contained in:
commit
57a738dc67
@ -86,11 +86,13 @@ Example:
|
||||
|
||||
### `path`
|
||||
|
||||
Path to run the docker build from. Defaults to `.`.
|
||||
Path to the build context. Defaults to `.`
|
||||
|
||||
### `dockerfile`
|
||||
|
||||
Name of the Dockerfile. Defaults to `{path}/Dockerfile`.
|
||||
Path to the Dockerfile. Defaults to `{path}/Dockerfile`
|
||||
|
||||
Note when set this path is **not** relative to the `path` input but is instead relative to the current working directory.
|
||||
|
||||
### `target`
|
||||
|
||||
|
@ -34,11 +34,11 @@ inputs:
|
||||
required: false
|
||||
default: false
|
||||
path:
|
||||
description: Path to run docker build from
|
||||
description: Path to the build context
|
||||
required: false
|
||||
default: "."
|
||||
dockerfile:
|
||||
description: Name of the Dockerfile (Default is 'path/Dockerfile')
|
||||
description: Path to the Dockerfile (Default is '{path}/Dockerfile')
|
||||
required: false
|
||||
target:
|
||||
description: Sets the target stage to build
|
||||
|
Loading…
Reference in New Issue
Block a user