qpa-client/.gitlab-ci.yml
2019-08-01 10:02:19 +02:00

19 lines
428 B
YAML

image: ubuntu:18.04
cache:
paths:
- node_modules/
deploy_staging:
stage: deploy
environment: staging
only:
- master
script:
- apt-get update
- apt-get install -y nodejs docker
- curl -o- -L https://yarnpkg.com/install.sh | bash
- (cd server; yarn build)
- 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