chore: Fix deploy script
This commit is contained in:
parent
96ee45edc9
commit
27758c0f0a
1 changed files with 2 additions and 1 deletions
|
@ -4,8 +4,9 @@ export REPO=pmsipilot/docker-compose-viz
|
|||
export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
|
||||
|
||||
git reset --hard
|
||||
git clean -dfx
|
||||
composer install --no-dev --prefer-dist --classmap-authoritative
|
||||
|
||||
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
docker build -f Dockerfile -t $REPO:$TAG .
|
||||
docker push $REPO
|
||||
|
|
Loading…
Reference in a new issue