Skip to content

Commit

Permalink
passt binding plugin: Add bazel rule to push image to local registry
Browse files Browse the repository at this point in the history
Signed-off-by: Or Mergi <[email protected]>
  • Loading branch information
ormergi committed Oct 19, 2023
1 parent ef1b82e commit b9e698d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ container_bundle(
"$(container_prefix)/$(image_prefix)example-disk-mutation-hook-sidecar:$(container_tag)": "//cmd/sidecars/disk-mutation:example-disk-mutation-hook-sidecar-image",
"$(container_prefix)/$(image_prefix)example-cloudinit-hook-sidecar:$(container_tag)": "//cmd/sidecars/cloudinit:example-cloudinit-hook-sidecar-image",
"$(container_prefix)/$(image_prefix)network-slirp-binding:$(container_tag)": "//cmd/sidecars/network-slirp-binding:network-slirp-binding-image",
"$(container_prefix)/$(image_prefix)network-passt-binding:$(container_tag)": "//cmd/network-passt-binding:network-passt-binding-image",
# container-disk images
"$(container_prefix)/$(image_prefix)alpine-container-disk-demo:$(container_tag)": "//containerimages:alpine-container-disk-image",
"$(container_prefix)/$(image_prefix)cirros-container-disk-demo:$(container_tag)": "//containerimages:cirros-container-disk-image",
Expand Down Expand Up @@ -339,6 +340,15 @@ container_push(
tag = "$(container_tag)",
)

container_push(
name = "push-network-passt-binding",
format = "Docker",
image = "//cmd/network-passt-binding:network-passt-binding-image",
registry = "$(container_prefix)",
repository = "$(image_prefix)network-passt-binding",
tag = "$(container_tag)",
)

container_push(
name = "push-example-hook-sidecar",
format = "Docker",
Expand Down

0 comments on commit b9e698d

Please sign in to comment.