ensure debug tag isn't pushed to docker
This commit is contained in:
parent
bc96ce3655
commit
a75674f812
2
build.sh
2
build.sh
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
IMAGE=${IMAGE:-"thealmightydrawingtablet/nfs-krb"}
|
||||
VERSION=$(git tag --sort=-committerdate | head -n 1)
|
||||
VERSION=$(git tag --sort=-committerdate | grep -vi debug | head -n 1)
|
||||
|
||||
docker build --progress=plain -t "${IMAGE}:ubuntu" -t "${IMAGE}:${VERSION}-ubuntu" -f ./Dockerfile.ubuntu .
|
||||
docker build --progress=plain -t "${IMAGE}:alpine" -t "${IMAGE}:${VERSION}-alpine" .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user