Brief-Generator/.drone.yml

36 lines
663 B
YAML
Raw Permalink Normal View History

2021-08-31 23:20:13 +00:00
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:
2021-09-01 00:17:51 +00:00
- pull_request
2021-08-31 23:20:13 +00:00
---
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:
2021-09-01 00:17:51 +00:00
- pull_request