ensure debug tag isn't pushed to docker

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-10-29 18:13:45 -04:00
parent bc96ce3655
commit a75674f812
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -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" .