diff --git a/build.sh b/build.sh index 752b95924919a4d791bb5aa4ceea1e8340be757f..5df0e1ce8b819d6e60cc939b9bf32b1ff95bad9f 100755 --- a/build.sh +++ b/build.sh @@ -34,9 +34,9 @@ docker build --build-arg BUILD_DATE=$(date -Iseconds) \ --build-arg VCS_REF=$VCS_REF \ --build-arg VERSION=$VERSION \ --tag "$IMAGE:latest" \ - --tag "jerrypan44/portal-backend:latest" \ + --tag "$IMAGE:$VERSION" \ . -docker push "jerrypan44/portal-backend:latest" + BUGSNAG_KEY="" eval $(grep -e "^\\s*BUGSNAG_KEY" Dockerfile | tr '\\' ' ')