Update README.md

This commit is contained in:
Nicco 2019-12-22 19:56:14 +01:00 committed by GitHub
parent b9c3fff5d3
commit e6965005dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ registry:
host: my_host
```
### Config Reference
### 📘 Config Reference
#### Variables
@ -102,3 +102,70 @@ variables:
tag: 'my-image-name:{{ var3 }}-{{ var1 }}-{{ var2 }}'
```
#### Parallel (Optional)
**Default:** yes
Whether the builds/push/runs should run in parallel or after each other.
###### no
Parallel off.
```yaml
parallel: no
```
###### yes
Uses all the threads available on the machine.
```yaml
parallel: yes
```
###### number
Uses how many thread you specify
```yaml
parallel: 2
```
#### run (Optional)
**Default:** no
Wether to run the docker image after building. Can be usefull if running automated tests.
```yaml
run: yes
```
#### push (Optional)
**Default:** no
Wether to push the docker image after building.
Can be used to push images to the docker registry (or your own).
See below on how to login.
```yaml
run: yes
```
#### registry (Optional)
**Default:** Empty
Credentials for `docker login`. Used to push images and to specify a custom registry if necessary.
```yaml
registry:
username: my_user
password: my_pass
host: my_host
```