From 6ea98cfd1c9dbfb1f0647b54c5dcdcfea78c34ee Mon Sep 17 00:00:00 2001 From: luaneko Date: Thu, 5 Dec 2024 17:46:48 +1100 Subject: [PATCH] Allow specifying image tag --- build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build b/build index eb3d480..b1d4017 100755 --- a/build +++ b/build @@ -1,7 +1,8 @@ #!/usr/bin/env bash -name=git.lua.re/luaneko/luare-authentik -tag=latest +name="git.lua.re/luaneko/luare-authentik" +tag="${1:-latest}" image="$name:$tag" +echo "Building $image..." podman build -t "$image" --pull . podman push "$image"