support multi-arch build
This commit is contained in:
parent
6d05c0a034
commit
6fdec88697
2
justfile
2
justfile
@ -11,7 +11,7 @@ registry_pass_var := "REGISTRY_PASSWORD"
|
|||||||
|
|
||||||
# build a new image
|
# build a new image
|
||||||
build flags="":
|
build flags="":
|
||||||
podman build -t {{image}}:{{tag}} {{flags}} -f Dockerfile ctx
|
podman build --platform linux/amd64,linux/arm64 -t {{image}}:{{tag}} {{flags}} -f Dockerfile ctx
|
||||||
|
|
||||||
# publish the image
|
# publish the image
|
||||||
publish alt_tag=tag:
|
publish alt_tag=tag:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user