build defaults to ts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
img=registry-app.inhome.blapointe.com:5001/bel/ana-ledger:latest
|
||||
img=registry-app.inhome.blapointe.com:5001/bel/ana-ledger:${1:-$(date +%Y%m%d%H%M)}
|
||||
cd "$(dirname "$(dirname "$(realpath "$BASH_SOURCE")")")"
|
||||
was=$(docker inspect $img | jq -r .[0].Id | sed 's/^sha256://')
|
||||
docker build -f ./build/Dockerfile -t $img .
|
||||
|
||||
Reference in New Issue
Block a user