Created
January 22, 2016 00:34
-
-
Save sheki/60dbfd70af257d37b5bb to your computer and use it in GitHub Desktop.
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
| !/bin/bash -e | |
| if [ ! "$CI" == true ]; then | |
| echo "Not running in CI" | |
| exit 1 | |
| fi | |
| docker build --tag brightsolar/web-nginx:codeship_build_"$CI_BUILD_NUMBER" nginx/ && docker push brightsolar/web-nginx | |
| docker build --tag brightsolar/web:codeship_build_"$CI_BUILD_NUMBER" --file Dockerfile.prod . && docker push brightsolar/web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment