diff --git a/start-docker.sh b/start-docker.sh index 2e698d6..1984a34 100755 --- a/start-docker.sh +++ b/start-docker.sh @@ -1,5 +1,6 @@ #!/bin/sh -docker build -t securitybunker/databunker:latest . +VERSION=$(cat ./version.txt) +docker build -t securitybunker/databunker:$VERSION --build-arg VERSION=$VERSION . docker-compose -f docker-compose-pgsql.yml down || true docker-compose -f docker-compose-pgsql.yml up -d