Fix doc typo & fix ctx execute argument type (#290)
diff --git a/rules/rbe_repo.bzl b/rules/rbe_repo.bzl
index 3939687..1e66111 100644
--- a/rules/rbe_repo.bzl
+++ b/rules/rbe_repo.bzl
@@ -77,7 +77,7 @@
rbe_autoconfig(
name = "rbe_my_custom_container",
registry = "gcr.io",
- registry = "my-project/my-base",
+ repository = "my-project/my-base",
# tag is not supported, always use a digest
digest = "sha256:deadbeef",
)
@@ -599,7 +599,7 @@
_print_exec_results("copy outputs", result, True, args)
# Copy the dest/{_PLATFORM_DIR}/BUILD file
- result = ctx.execute("cp", str(ctx.path(_PLATFORM_DIR + "/BUILD")), platform_dest)
+ result = ctx.execute(["cp", str(ctx.path(_PLATFORM_DIR + "/BUILD")), platform_dest])
# Private declaration of _rbe_autoconfig repository rule. Do not use this
# rule directly, use rbe_autoconfig macro declared below.