From cdc048a98bbec469a0b17f5f6c5f38a42446d81a Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Tue, 22 Aug 2017 21:40:02 -0700 Subject: [PATCH] Add build scripts --- README.md | 4 +++- build.sh | 3 +++ cmd/ytdl/build.sh | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 build.sh create mode 100755 cmd/ytdl/build.sh diff --git a/README.md b/README.md index 61f04a4..5942762 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,6 @@ Deploy image to Container Registry: docker tag ytdl gcr.io/pod-sync/ytdl gcloud auth application-default login gcloud docker -- push gcr.io/pod-sync/ytdl -``` \ No newline at end of file +``` + +or just use `build.sh` \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..3c90c0b --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +docker build -t app . +docker tag app gcr.io/pod-sync/app +gcloud docker -- push gcr.io/pod-sync/app \ No newline at end of file diff --git a/cmd/ytdl/build.sh b/cmd/ytdl/build.sh new file mode 100755 index 0000000..0939b87 --- /dev/null +++ b/cmd/ytdl/build.sh @@ -0,0 +1,3 @@ +docker build -t ytdl . +docker tag ytdl gcr.io/pod-sync/ytdl +gcloud docker -- push gcr.io/pod-sync/ytdl \ No newline at end of file