Brief-Generator/.drone.yml
cami 1a406e74ba
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
Add CI integration with drone
2021-09-01 01:20:13 +02:00

39 lines
697 B
YAML

kind: pipeline
name: backend
steps:
- name: backend
image: plugins/docker
settings:
repo: caminsha/lettergen-backend
context: ./backend
dockerfile: ./backend/Dockerfile.prod
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_SECRET
when:
branch:
- main
event:
- push
---
kind: pipeline
name: frontend
steps:
- name: frontend
image: plugins/docker
settings:
repo: caminsha/lettergen-frontend
context: ./frontend
dockerfile: ./frontend/Dockerfile.prod
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_SECRET
when:
branch:
- main
event:
- push