grim/convey
Clone
Summary
Browse
Changes
Graph
Bust out a bunch of the yaml to yaml files
2018-02-12, Gary Kramlich
37339c9211b8
Bust out a bunch of the yaml to yaml files
# 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
:
docker/tag
source
:
gliderlabs/alpine:edge
destinations
:
${IMAGE_TAGS}
tag-intermediate
:
type
:
convey/extend
task
:
tag-abstract
environment
:
-
IMAGE_TAGS=foo;bar;baz
expand
:
-
IMAGE_TAGS
tag-concrete
:
type
:
convey/extend
task
:
tag-intermediate
environment
:
-
IMAGE_TAGS=baz;bonk
plans
:
default
:
stages
:
-
tasks
:
tag-concrete