Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created May 21, 2018 22:24
Show Gist options
  • Save miguelmota/7d185afa32b69fd521454b304bf0dc7e to your computer and use it in GitHub Desktop.
Save miguelmota/7d185afa32b69fd521454b304bf0dc7e to your computer and use it in GitHub Desktop.
Yaml spec multiline command example
version: 0.2
phases:
pre_build:
commands:
- echo ...
build:
commands:
- echo ...
- >
docker run
-e PORT=$PORT
-e FOO=$FOO
-t $REPOSITORY_URI:latest make test
- echo ...
post_build:
commands:
- echo ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment