1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-04-01 20:50:09 +02:00

Update README.md

Signed-off-by: Olga Botvinnik <olga.botvinnik@gmail.com>
This commit is contained in:
Olga Botvinnik 2020-05-14 12:54:57 -07:00
parent 15721ef1d6
commit 5bc1a5aa28

View file

@ -195,7 +195,7 @@ with:
```
### 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
name: Build Docker images
on: [push, pull_request]