aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-09-13 18:02:36 +0000
committerGravatar Johannes Christ <[email protected]>2018-09-13 18:02:36 +0000
commitc7d0e065dc094e09c6e2c2fa6f6d59df6ce27fb5 (patch)
tree8156141a17262dd52149a22d2f0b34e125dcd297 /scripts/deploy.sh
parentMerge branch 'apostrophes-in-otnames' into 'master' (diff)
use system flag instead of using venv
Diffstat (limited to 'scripts/deploy.sh')
-rw-r--r--scripts/deploy.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 50ec87f59..070d0ec26 100644
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -5,22 +5,22 @@ if [[ $CI_COMMIT_REF_SLUG == 'master' ]]; then
echo "Connecting to docker hub"
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- changed_lines=$(git diff HEAD~1 HEAD docker/Dockerfile.base | wc -l)
+ changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
if [ $changed_lines != '0' ]; then
- echo "Dockerfile.base was changed"
+ echo "base.Dockerfile was changed"
echo "Building bot base"
- docker build -t pythondiscord/bot-base:latest -f docker/Dockerfile.base .
+ docker build -t pythondiscord/bot-base:latest -f docker/base.Dockerfile .
echo "Pushing image to Docker Hub"
docker push pythondiscord/bot-base:latest
else
- echo "Dockerfile.base was not changed, not building"
+ echo "base.Dockerfile was not changed, not building"
fi
echo "Building image"
- docker build -t pythondiscord/bot:latest -f docker/Dockerfile .
+ docker build -t pythondiscord/bot:latest -f docker/bot.Dockerfile .
echo "Pushing image"
docker push pythondiscord/bot:latest