schwarzesbrett/.drone.yml
Dominic Grimm 777cc69450
Some checks failed
continuous-integration/drone/push Build is failing
Try to fix image push with different context
2022-08-02 10:46:44 +02:00

45 lines
697 B
YAML

---
kind: pipeline
type: docker
name: frontend
steps:
- name: build
image: tmaier/docker-compose
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- docker-compose build frontend
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: docker
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: grimmigerfuchs/schwarzesbrett
tags: latest
context: ./docker/schwarzesbrett
depends_on:
- frontend
trigger:
branch:
- main
event:
- push