Tries defining commit in deploy script
This commit is contained in:
parent
9af91bed8b
commit
fceda2c796
|
@ -22,8 +22,8 @@ install:
|
|||
- pipenv install
|
||||
|
||||
env:
|
||||
global:
|
||||
- COMMIT=${$TRAVIS_COMMIT::8}
|
||||
# global:
|
||||
# - COMMIT=${$TRAVIS_COMMIT::8}
|
||||
matrix:
|
||||
- PB_BASE_URL='http://workflow.sartography.com:5001/pb/'
|
||||
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin || exit 1
|
||||
REPO="sartography/cr-connect-workflow"
|
||||
TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo "$TRAVIS_BRANCH" ; fi)
|
||||
COMMIT=${$TRAVIS_COMMIT::8}
|
||||
|
||||
echo "REPO = $REPO"
|
||||
echo "TAG = $TAG"
|
||||
echo "TRAVIS_COMMIT = $TRAVIS_COMMIT"
|
||||
echo "COMMIT = $COMMIT"
|
||||
echo "REPO:COMMIT = $REPO:$COMMIT"
|
||||
echo "REPO:TAG = $REPO:$TAG"
|
||||
|
|
Loading…
Reference in New Issue