diff --git a/push_to_docker.sh b/push_to_docker.sh index 45b8033..7a814e1 100755 --- a/push_to_docker.sh +++ b/push_to_docker.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=$(cat ./app/version.go | grep "VERSION string" | awk ' { print $5 } ' | sed s/\"//g) +VERSION=$(cat ./app/version.go | grep "VERSION" | awk ' { print $4 } ' | sed s/\"//g) docker build -t mqttbot . docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"