qpa-client/.gitlab-ci.yml

19 lines
428 B
YAML
Raw Normal View History

2019-07-26 15:42:07 +02:00
image: ubuntu:18.04
cache:
paths:
- node_modules/
2018-05-18 12:40:21 +02:00
deploy_staging:
stage: deploy
2018-05-18 12:40:21 +02:00
environment: staging
only:
- master
script:
2019-07-26 15:42:07 +02:00
- apt-get update
2019-08-01 09:56:34 +02:00
- apt-get install -y nodejs docker
2019-08-01 10:02:19 +02:00
- curl -o- -L https://yarnpkg.com/install.sh | bash
2019-07-26 15:32:11 +02:00
- (cd server; yarn build)
2019-08-01 09:53:33 +02:00
- docker build -t eu.gcr.io/qpa-staging-237606/qpa:$CI_COMMIT_TAG .
- docker push eu.gcr.io/qpa-staging-237606/qpa:$CI_COMMIT_TAG