Brief-Generator/.drone.yml
cami e32ab08b7d
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Change trigger for CI
2021-09-01 02:17:51 +02:00

35 lines
663 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:
event:
- pull_request
---
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:
event:
- pull_request