qpa-client/.gitlab-ci.yml
Amit Jakubowicz 2e61bdf813 Deps update
2019-08-01 19:47:45 +02:00

22 lines
456 B
YAML

image: docker:latest
services:
- docker:dind
cache:
paths:
- node_modules/
deploy_staging:
stage: deploy
environment:
name: staging
only:
- tags
script:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- yarn global add typescript
- (cd server; yarn; yarn build)
- (cd server; 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