From 857aa0f27c8d4596bb3744c188b26ce094e72552 Mon Sep 17 00:00:00 2001 From: Yuli Date: Sun, 28 Apr 2024 00:10:23 +0300 Subject: [PATCH] add version to container --- start-docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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