cloud: add multirun for cloud image push
This change adds multirun as dependency to allow us to push
multiple images with one bazel target.
Change-Id: Ie151286be6c2c254d4e87657787bb76a57faa129
Reviewed-on: https://review.monogon.dev/c/monogon/+/3204
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/cloud/BUILD.bazel b/cloud/BUILD.bazel
index 965c100..04222e7 100644
--- a/cloud/BUILD.bazel
+++ b/cloud/BUILD.bazel
@@ -1,4 +1,5 @@
load("@bazel_skylib//rules:write_file.bzl", "write_file")
+load("@rules_multirun//:defs.bzl", "multirun")
write_file(
name = "tags_tmpl",
@@ -56,3 +57,14 @@
remote_tags = ":stamped",
repository = "gcr.io/monogon-infra/cloud/shepherd/mini",
)
+
+multirun(
+ name = "push",
+ commands = [
+ ":apigw_image",
+ ":shepherd_equinix",
+ ":bmsrv",
+ ":scruffy",
+ ":shepherd_mini",
+ ],
+)