0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-29 04:30:36 +00:00

update docs to include multi-tag capabilities

This commit is contained in:
Brad Rydzewski 2015-10-27 18:26:50 -07:00
parent 54b0c1d9e0
commit 593ab32760

17
DOCS.md
View File

@ -36,6 +36,23 @@ publish:
tag: $$BRANCH
```
Or you may prefer to build an image with multiple tags:
```
publish:
docker:
username: kevinbacon
password: $$DOCKER_PASSWORD
email: kevin.bacon@mail.com
repo: foo/bar
tag:
- latest
- "1.0.1"
- "1.0"
```
Note that in the above example we quote the version numbers. If the yaml parser interprets the value as a number it will cause a parsing error.
## Troubleshooting
For detailed output you can set the `DOCKER_LAUNCH_DEBUG` environment variable in your plugin configuration. This starts Docker with verbose logging enabled.