From b3ca520a7a886187fed3e10159ddb32b601ec349 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sat, 29 Apr 2017 20:21:25 +1000 Subject: [PATCH] Lets try to automate this build a bit This doesn't rebuild on subproject changes... this is something that will need fixed. --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..fd941a7a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +build_image: + image: docker:git + services: + - docker:dind + script: + - docker build -f docker/Dockerfile -t asia.gcr.io/linuxconfsydney/symposion_app . + - docker login -u _json_key -p "$GOOGLE_KEY" https://asia.gcr.io + - docker push asia.gcr.io/linuxconfsydney/symposion_app:latest + only: + - master