deploy
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
9014edc0c2
commit
cea2b88b30
29
.drone.yml
29
.drone.yml
|
@ -1,6 +1,6 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: backend
|
- name: backend
|
||||||
|
@ -47,3 +47,30 @@ volumes:
|
||||||
|
|
||||||
node:
|
node:
|
||||||
location: home
|
location: home
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: deploy
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: run
|
||||||
|
image: docker/compose:1.29.2
|
||||||
|
environment:
|
||||||
|
username:
|
||||||
|
from_secret: registry_username
|
||||||
|
password:
|
||||||
|
from_secret: registry_password
|
||||||
|
commands:
|
||||||
|
- echo $username
|
||||||
|
- docker login -u $username -p $password https://registry.xrg.io
|
||||||
|
- docker-compose up -d
|
||||||
|
volumes:
|
||||||
|
- name: docker
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
node:
|
||||||
|
location: do1
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
|
Loading…
Reference in New Issue