Add tag argument to Dockerfile

This commit is contained in:
2025-03-26 18:54:57 +11:00
parent 6ea98cfd1c
commit 0e316b27b1
2 changed files with 3 additions and 2 deletions

2
build
View File

@@ -4,5 +4,5 @@ tag="${1:-latest}"
image="$name:$tag"
echo "Building $image..."
podman build -t "$image" --pull .
podman build -t "$image" --pull --build-arg "TAG=$tag" .
podman push "$image"