This commit is contained in:
parent
777cc69450
commit
2249059328
1 changed files with 11 additions and 22 deletions
33
.drone.yml
33
.drone.yml
|
@ -11,19 +11,7 @@ steps:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker-compose build frontend
|
- docker-compose build frontend
|
||||||
|
- name: publish
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
host:
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: docker
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker
|
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -32,13 +20,14 @@ steps:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: grimmigerfuchs/schwarzesbrett
|
repo: grimmigerfuchs/schwarzesbrett
|
||||||
tags: latest
|
tags: latest
|
||||||
context: ./docker/schwarzesbrett
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
depends_on:
|
volumes:
|
||||||
- frontend
|
- name: dockersock
|
||||||
|
host:
|
||||||
trigger:
|
path: /var/run/docker.sock
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
Loading…
Reference in a new issue