Skip to content

Instantly share code, notes, and snippets.

@javierprovecho
Created July 22, 2020 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javierprovecho/d9285cef1939b169d6d318787bae441f to your computer and use it in GitHub Desktop.
Save javierprovecho/d9285cef1939b169d6d318787bae441f to your computer and use it in GitHub Desktop.
YAML syntax
command:
# interpeted as a string
- helm push $${repo}:${DRONE_TAG}
# interpreted as string
- helm push foo:bar
# if ${DRONE_TAG} is missing or empty,
# it will be rendered as follows.
#
# interpreted as object/dict
# with 1 key and no value (null)
- helm push foo:
# interpreted as string
- foo:bar
# interpreted as object/dict
- foo: bar
# interpreted as string
- 'foo: bar'
# interpreted as string
- >-
foo: bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment