Bachelorthesis_Code/.drone.yml

38 lines
594 B
YAML
Raw Normal View History

2021-07-11 23:49:21 +00:00
kind: pipeline
2021-07-12 00:24:19 +00:00
name: backend
2021-07-11 23:49:21 +00:00
2021-07-12 00:09:09 +00:00
steps:
2021-07-12 00:27:31 +00:00
- name: backend
2021-07-12 00:19:28 +00:00
image: plugins/docker
settings:
repo: caminsha/bt-backend
context: backend
2021-07-12 00:24:19 +00:00
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_SECRET
when:
branch:
- main
event:
- push
---
kind: pipeline
name: frontend
steps:
2021-07-12 00:27:31 +00:00
- name: frontend
2021-07-12 00:24:19 +00:00
image: plugins/docker
settings:
repo: caminsha/bt-frontend
context: frontend
2021-07-12 00:19:28 +00:00
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_SECRET
when:
branch:
- main
event:
- push