face_detection: add push_to_dev, fix action command and GraphQL mutation query
diff --git a/apps/face_detection/BUILD b/apps/face_detection/BUILD
index 364b682..d1ed253 100644
--- a/apps/face_detection/BUILD
+++ b/apps/face_detection/BUILD
@@ -1,8 +1,10 @@
+load("@rules_pkg//:pkg.bzl", "pkg_tar")
+
# TODO(lekva): figure out how to build py_binary with pip dependencies and
# migrate off of shell script running docker build
sh_binary(
- name = "container",
- srcs = ["container.sh"],
+ name = "push_to_dev",
+ srcs = ["push_to_dev.sh"],
data = glob(["*.py"]) + [
"Dockerfile",
"haarcascade_frontalface_default.xml",
@@ -11,3 +13,10 @@
"@bazel_tools//tools/bash/runfiles",
],
)
+
+pkg_tar(
+ name = "chart",
+ srcs = glob(["chart/**"]),
+ extension = "tar.gz",
+ strip_prefix = "./chart",
+)