justfile: add support for build flags

This commit is contained in:
Jason Swank 2023-05-16 18:19:54 -04:00
parent b46558b04c
commit 7d3ed87a4f

View File

@ -10,8 +10,8 @@ registry_user := "jswank"
registry_pass_var := "REGISTRY_PASSWORD" registry_pass_var := "REGISTRY_PASSWORD"
# build a new image # build a new image
build: build flags="":
podman build -t {{image}}:{{tag}} -f Dockerfile ctx podman build -t {{image}}:{{tag}} {{ flags }} -f Dockerfile ctx
# publish the image # publish the image
publish alt_tag=tag: publish alt_tag=tag: