diff --git a/build.sh b/build.sh index 1b6d206..c5b78fc 100644 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ IMAGE=${IMAGE:-"thealmightydrawingtablet/nfs-krb"} 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" . +docker build --progress=plain -t "${IMAGE}:alpine" -t "${IMAGE}:${VERSION}-alpine" -t "${IMAGE}:latest" . if [ "$1" == "push" ]; then docker push --all-tags "${IMAGE}"