mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-06 23:16:02 +02:00
Update README.md
Signed-off-by: Olga Botvinnik <olga.botvinnik@gmail.com>
This commit is contained in:
parent
15721ef1d6
commit
5bc1a5aa28
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ with:
|
||||||
```
|
```
|
||||||
|
|
||||||
### Minimal complete working github actions yaml file
|
### Minimal complete working github actions yaml file
|
||||||
|
This minimal workflow clones the repo in question with the `actions/checkout@v1` step, and then runs `docker build -t myorg/myrepository .` with the `Dockerfile` present in the parent directory. In this case, it only builds it and does not push it (`push: false`). This can be useful for testing if the `Dockerfile` is valid in the first place and making sure there are no version conflicts.
|
||||||
```yaml
|
```yaml
|
||||||
name: Build Docker images
|
name: Build Docker images
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
Loading…
Add table
Reference in a new issue