From 7d3ed87a4f4682ef934b090e470240ad677ef05a Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Tue, 16 May 2023 18:19:54 -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..b17b4ee 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: