|
|
@ -4,8 +4,8 @@ build:
|
|
|
|
- script:
|
|
|
|
- script:
|
|
|
|
name: install dependencies
|
|
|
|
name: install dependencies
|
|
|
|
code: |
|
|
|
|
code: |
|
|
|
|
apk update
|
|
|
|
apt update
|
|
|
|
apk add bash build-base curl yarn
|
|
|
|
apt install bash build-essential yarn
|
|
|
|
- script:
|
|
|
|
- script:
|
|
|
|
name: yarn install
|
|
|
|
name: yarn install
|
|
|
|
code: |
|
|
|
|
code: |
|
|
|
@ -55,7 +55,7 @@ deploy-docker-master:
|
|
|
|
code: |
|
|
|
|
code: |
|
|
|
|
apk update
|
|
|
|
apk update
|
|
|
|
apk add bash curl git openssh
|
|
|
|
apk add bash curl git openssh
|
|
|
|
- internal/docker-push:
|
|
|
|
- internal/docker-scratch-push:
|
|
|
|
username: $DOCKER_HUB_USERNAME
|
|
|
|
username: $DOCKER_HUB_USERNAME
|
|
|
|
password: $DOCKER_HUB_PASSWORD
|
|
|
|
password: $DOCKER_HUB_PASSWORD
|
|
|
|
tag: latest, master
|
|
|
|
tag: latest, master
|
|
|
@ -67,7 +67,7 @@ deploy-docker-master:
|
|
|
|
deploy-docker-dev:
|
|
|
|
deploy-docker-dev:
|
|
|
|
box: node:8-alpine
|
|
|
|
box: node:8-alpine
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- internal/docker-push:
|
|
|
|
- internal/docker-scratch-push:
|
|
|
|
username: $DOCKER_HUB_USERNAME
|
|
|
|
username: $DOCKER_HUB_USERNAME
|
|
|
|
password: $DOCKER_HUB_PASSWORD
|
|
|
|
password: $DOCKER_HUB_PASSWORD
|
|
|
|
tag: dev
|
|
|
|
tag: dev
|
|
|
|