From 6b0bd501fe313e47f772f37c43a37186e20b0bc0 Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Tue, 16 May 2023 18:27:00 -0400 Subject: [PATCH] justfile: add support for build flags --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 801f0f3..bdfd507 100644 --- a/justfile +++ b/justfile @@ -10,8 +10,8 @@ registry_user := "jswank" registry_pass_var := "REGISTRY_PASSWORD" # build a new image -build: - podman build -t {{image}}:{{tag}} -f Dockerfile ctx +build flags="": + podman build -t {{image}}:{{tag}} {{flags}} -f Dockerfile ctx # publish the image publish alt_tag=tag: