Created
November 18, 2019 07:43
-
-
Save polster/5f802e7fb4927190fa6890f44c804358 to your computer and use it in GitHub Desktop.
gitlab-ci template script
This file contains 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
image: alpine:3.7 | |
.script-snip-one: &script-snip-one | | |
echo "Running snippet one" | |
ls -la | |
.script-snip-two: &script-snip-two | | |
echo "Running snippet two" | |
ls -la | |
stages: | |
- build | |
build: | |
stage: build | |
script: | |
- *script-snip-one | |
- ./build assembleRelease | |
- *script-snip-two | |
only: | |
- develop | |
tags: | |
- DOCKER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment