1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Add build scripts

This commit is contained in:
Maksym Pavlenko
2017-08-22 21:40:02 -07:00
parent f9a32052f3
commit cdc048a98b
3 changed files with 9 additions and 1 deletions

View File

@ -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
```
```
or just use `build.sh`

3
build.sh Executable file
View File

@ -0,0 +1,3 @@
docker build -t app .
docker tag app gcr.io/pod-sync/app
gcloud docker -- push gcr.io/pod-sync/app

3
cmd/ytdl/build.sh Executable file
View File

@ -0,0 +1,3 @@
docker build -t ytdl .
docker tag ytdl gcr.io/pod-sync/ytdl
gcloud docker -- push gcr.io/pod-sync/ytdl