Created
July 22, 2020 12:47
-
-
Save javierprovecho/d9285cef1939b169d6d318787bae441f to your computer and use it in GitHub Desktop.
YAML syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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