justfile: add support for build flags
This commit is contained in:
parent
b46558b04c
commit
7d3ed87a4f
4
justfile
4
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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user