From 593ab32760600f1481605a5a11e1946f4569692c Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 27 Oct 2015 18:26:50 -0700 Subject: [PATCH] update docs to include multi-tag capabilities --- DOCS.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/DOCS.md b/DOCS.md index 989409e..6bb5fac 100644 --- a/DOCS.md +++ b/DOCS.md @@ -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.