Bachelorthesis_Code/.drone.yml
cami 372de2498f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Changed repos and added context insted of Dockerfile
2021-07-12 18:57:15 +02:00

38 lines
594 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