Cleans up debugging stuff
This commit is contained in:
parent
0d65e89dcb
commit
615b1c9469
|
@ -14,7 +14,7 @@ deploy:
|
|||
skip_cleanup: true
|
||||
on:
|
||||
all_branches: true
|
||||
# condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
|
||||
condition: $TRAVIS_BRANCH =~ ^(testing|staging|master)$
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
|
|
@ -7,12 +7,6 @@ REPO="sartography/cr-connect-$APP"
|
|||
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
|
||||
COMMIT=${TRAVIS_COMMIT::8}
|
||||
|
||||
echo "APP = $APP"
|
||||
echo "REPO = $REPO"
|
||||
echo "TAG = $TAG"
|
||||
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
|
||||
echo "COMMIT = $COMMIT"
|
||||
|
||||
docker build -f Dockerfile -t "$REPO:$COMMIT" .
|
||||
docker tag "$REPO:$COMMIT" "$REPO:$TAG"
|
||||
docker tag "$REPO:$COMMIT" "$REPO:travis-$TRAVIS_BUILD_NUMBER"
|
||||
|
|
Loading…
Reference in New Issue