1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-03-31 04:00:08 +02:00

Add complete working example

Addresses https://github.com/docker/build-push-action/issues/25

Signed-off-by: Olga Botvinnik <olga.botvinnik@gmail.com>
This commit is contained in:
Olga Botvinnik 2020-04-09 06:19:43 -07:00
parent e5e36c4a4e
commit db7eca3379

View file

@ -192,4 +192,24 @@ with:
repository: myorg/myrepository
tag_with_ref: true
target: mytarget
```
```
### Minimal complete working github actions yaml file
```yaml
name: Build Docker images
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: 'Checkout git repo'
uses: actions/checkout@v1
- name: Build Docker images
uses: docker/build-push-action@v1.0.1
with:
repository: myorg/myrepository
push: false
```