FEAT: try build in dcompose 2
This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -3,16 +3,6 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker/compose
|
||||
volumes:
|
||||
- name: docker
|
||||
path: /var/run/docker.sock
|
||||
- name: pegaz
|
||||
path: /opt/pegaz
|
||||
commands:
|
||||
- bash /opt/pegaz/cli.pegaz.sh build pegazio
|
||||
|
||||
- name: deploy
|
||||
image: docker/compose
|
||||
volumes:
|
||||
@@ -30,6 +20,7 @@ steps:
|
||||
- mkdir $WORKDIR
|
||||
- cd /drone/src/ $WORKDIR
|
||||
- sed -i "s|DOMAIN=.*|DOMAIN=\"$CI_DOMAIN\"|g" config.sh
|
||||
- bash /opt/pegaz/cli.pegaz.sh build pegazio
|
||||
- bash /opt/pegaz/cli.pegaz.sh update pegazio
|
||||
|
||||
volumes:
|
||||
|
Reference in New Issue
Block a user