mirror of
https://github.com/quepasaevents/qpa-client.git
synced 2023-12-14 05:33:02 +01:00
22 lines
456 B
YAML
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
|