mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-14 07:07:12 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
e5e36c4a4e | |||
af185b4d18 | |||
57a738dc67 | |||
120f6587bc | |||
434b33a73f | |||
5b676d2d40 |
@ -188,4 +188,4 @@
|
|||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
@ -86,11 +86,13 @@ Example:
|
|||||||
|
|
||||||
### `path`
|
### `path`
|
||||||
|
|
||||||
Path to run the docker build from. Defaults to `.`.
|
Path to the build context. Defaults to `.`
|
||||||
|
|
||||||
### `dockerfile`
|
### `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`
|
### `target`
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ branding:
|
|||||||
color: 'blue'
|
color: 'blue'
|
||||||
runs:
|
runs:
|
||||||
using: docker
|
using: docker
|
||||||
image: docker://docker/github-actions:v1.0
|
image: docker://docker/github-actions:v1
|
||||||
args:
|
args:
|
||||||
- build-push
|
- build-push
|
||||||
inputs:
|
inputs:
|
||||||
@ -34,11 +34,11 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
path:
|
path:
|
||||||
description: Path to run docker build from
|
description: Path to the build context
|
||||||
required: false
|
required: false
|
||||||
default: "."
|
default: "."
|
||||||
dockerfile:
|
dockerfile:
|
||||||
description: Name of the Dockerfile (Default is 'path/Dockerfile')
|
description: Path to the Dockerfile (Default is '{path}/Dockerfile')
|
||||||
required: false
|
required: false
|
||||||
target:
|
target:
|
||||||
description: Sets the target stage to build
|
description: Sets the target stage to build
|
||||||
|
Reference in New Issue
Block a user