...
1load("@rules_apko//apko:defs.bzl", "apko_image")
2load("@rules_oci//oci:defs.bzl", "oci_image")
3load("//hack/build/rules/container:index.bzl", "container_push")
4
5apko_image(
6 name = "rancher_helper_base",
7 config = "apko.yaml",
8 contents = "@rancher_helper_lock//:contents",
9 tag = "rancher_helper_base:latest",
10 tags = ["requires-network"],
11)
12
13oci_image(
14 name = "local-path-provisioner-helper",
15 base = ":rancher_helper_base",
16 tags = [
17 "manual",
18 "no-remote-cache",
19 ],
20)
21
22container_push(
23 image = ":local-path-provisioner-helper",
24 image_name = "local-path-provisioner-helper",
25 repository_file = "//hack/build/rules/container:workloads-repo",
26 tags = [
27 "manual",
28 "no-remote-cache",
29 ],
30)
View as plain text