add version to container

This commit is contained in:
Yuli
2024-04-28 00:10:23 +03:00
parent 856e99c5c3
commit 857aa0f27c

View File

@@ -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