Tweaking oci image invocation

dev
Nick Dumas 1 year ago
parent e26cc2106d
commit e1486ea2d7

@ -28,12 +28,7 @@ load("@rules_oci//oci:defs.bzl", "oci_image")
oci_image( oci_image(
name = "image", name = "image",
architecture = select({ base = "//:distroless_base",
"@platforms//cpu:arm64": "arm64", entrypoint = ["/demo"],
"@platforms//cpu:x86_64": "amd64",
}),
base = ":distroless_base",
entrypoint = ["/app"],
os = "linux",
tars = [":tar"], tars = [":tar"],
) )

Loading…
Cancel
Save