Bachelorthesis_Code/.drone.yml
cami fbbea1a8d1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update context
2021-07-12 19:05:33 +02:00

37 lines
598 B
YAML

kind: pipeline
name: backend
steps:
- name: backend
image: plugins/docker
settings:
repo: caminsha/bt-backend
context: ./backend
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/bt-frontend
context: ./frontend
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_SECRET
when:
branch:
- main
event:
- push