exclude publishing while QA_ENV is active

This commit is contained in:
fbsanchez 2019-09-16 11:14:00 +02:00
parent 18abd5e3d6
commit 1596078bcb
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
docker build --rm=true --pull --no-cache --build-arg BRANCH="develop" --build-arg DB_PASS="pandora" -t pandorafms/pandorafms:7 . && \ docker build --rm=true --pull --no-cache --build-arg BRANCH="develop" --build-arg DB_PASS="pandora" -t pandorafms/pandorafms:7 . && \
[ "$QA_ENV" == "" ] && \
docker push pandorafms/pandorafms:7 docker push pandorafms/pandorafms:7