This commit is contained in:
41
.drone.yml
41
.drone.yml
@@ -123,6 +123,11 @@ steps:
|
|||||||
registry: git.mifi.dev
|
registry: git.mifi.dev
|
||||||
ssh-agent-key:
|
ssh-agent-key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
Path: /var/run/docker.sock
|
||||||
|
- name: dockerconfig
|
||||||
|
Path: /.docker/config.json
|
||||||
- name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
@@ -139,6 +144,12 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
- name: dockerconfig
|
||||||
|
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- Build Pipeline
|
- Build Pipeline
|
||||||
|
|
||||||
@@ -164,12 +175,14 @@ steps:
|
|||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- compose build .
|
- compose build .
|
||||||
- compose up -d
|
- compose up --wait
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: env
|
- name: env
|
||||||
# path: ./.env
|
path: /.env
|
||||||
# - name: dockersock
|
- name: dockersock
|
||||||
# Path: /var/run/docker.sock
|
Path: /var/run/docker.sock
|
||||||
|
- name: dockerconfig
|
||||||
|
Path: /.docker/config.json
|
||||||
- name: Send Status Notifications
|
- name: Send Status Notifications
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
@@ -187,16 +200,12 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /volume1/docker/labs/grow-auth/.env:.env
|
- name: env
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
path: /volume1/docker/labs/grow-auth/.env
|
||||||
- /volume1/docker/labs/grow-auth/dockerconfig.json:.docker/config.json
|
- name: dockersock
|
||||||
|
path: /var/run/docker.sock
|
||||||
# - name: env
|
- name: dockerconfig
|
||||||
# host:
|
path: /volume1/docker/labs/grow-auth/dockerconfig.json
|
||||||
# path: /volume1/docker/labs/grow-auth/.env
|
|
||||||
# - name: dockersock
|
|
||||||
# host:
|
|
||||||
# path: /var/run/docker.sock
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- Build Pipeline
|
- Build Pipeline
|
||||||
|
|||||||
Reference in New Issue
Block a user