tag alpine image as latest

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-10-30 00:22:43 -04:00
parent e12b8dc9a0
commit 2ac4b483ea
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -4,7 +4,7 @@ IMAGE=${IMAGE:-"thealmightydrawingtablet/nfs-krb"}
VERSION=$(git tag --sort=-committerdate | grep -vi debug | 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}: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 if [ "$1" == "push" ]; then
docker push --all-tags "${IMAGE}" docker push --all-tags "${IMAGE}"