ensure alpine is the default image
This commit is contained in:
parent
62d4856f7a
commit
9f1be586be
2
build.sh
2
build.sh
@ -3,8 +3,8 @@
|
||||
IMAGE=${IMAGE:-"thealmightydrawingtablet/nfs-krb"}
|
||||
VERSION=$(git tag --sort=-committerdate | head -n 1)
|
||||
|
||||
docker build --progress=plain -t "${IMAGE}:alpine" -t "${IMAGE}:${VERSION}-alpine" .
|
||||
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" .
|
||||
|
||||
if [ "$1" == "push" ]; then
|
||||
docker push --all-tags "${IMAGE}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user