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"