grim/convey

closing merged branch
hostnames
2017-10-13, Gary Kramlich
33eae19fcbbe
closing merged branch
# This example shows how to use automatic splitting of expanded
# environment variables over directives that take arrays. Running
# this configuration file executes the following commands:
#
# - docker tag gliderlabs/alpine:edge baz
# - docker tag gliderlabs/alpine:edge bonk
tasks:
tag-abstract:
type: tag
source: gliderlabs/alpine:edge
destinations: ${IMAGE_TAGS}
tag-intermediate:
type: extend
task: tag-abstract
environment:
- IMAGE_TAGS=foo;bar;baz
expand:
- IMAGE_TAGS
tag-concrete:
type: extend
task: tag-intermediate
environment:
- IMAGE_TAGS=baz;bonk
plans:
default:
stages:
- tasks: tag-concrete