File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -156,5 +156,9 @@ docker_image(
156156 flake_lock = "//:flake.lock" ,
157157 build_deps = [
158158 "//bin/auth-api:auth-api" ,
159- ]
159+ ],
160+ # TODO(fnichol): revisit post 2025-02-01
161+ promote_multi_arches = [
162+ "amd64" ,
163+ ],
160164)
Original file line number Diff line number Diff line change 11load (
22 "@prelude-si//:macros.bzl" ,
33 "docker_image" ,
4- "rust_binary" ,
54 "nix_omnibus_pkg" ,
5+ "rust_binary" ,
66)
77
88rust_binary (
@@ -29,7 +29,11 @@ docker_image(
2929 name = "image" ,
3030 image_name = "module-index" ,
3131 flake_lock = "//:flake.lock" ,
32- build_deps = ["//bin/module-index:module-index" ]
32+ build_deps = ["//bin/module-index:module-index" ],
33+ # TODO(fnichol): revisit post 2025-02-01
34+ promote_multi_arches = [
35+ "amd64" ,
36+ ],
3337)
3438
3539nix_omnibus_pkg (
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ def docker_image(
1515 visibility = ["PUBLIC" ],
1616 release_target = "release" ,
1717 promote_target = "promote" ,
18+ promote_multi_arches = [],
1819 ** kwargs ):
1920 _docker_image (
2021 name = name ,
@@ -36,5 +37,6 @@ def docker_image(
3637 _docker_image_promote (
3738 name = promote_target ,
3839 image_name = "{}/{}" .format (organization , kwargs .get ("image_name" , name )),
40+ multi_arches = promote_multi_arches ,
3941 visibility = visibility ,
4042 )
You can’t perform that action at this time.
0 commit comments