schwarzesbrett/.drone.yml
Dominic Grimm e557f3169d
Some checks failed
continuous-integration/drone/push Build is failing
Add dockerhub push CI
2022-08-02 10:39:06 +02:00

44 lines
663 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: push-to-hub
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: grimmigerfuchs/schwarzesbrett
tags: latest
depends_on:
- frontend
trigger:
branch:
- main
event:
- push