Compare commits
5 commits
8fec13cad4
...
649c80b5fc
Author | SHA1 | Date | |
---|---|---|---|
649c80b5fc | |||
123ece89be | |||
6d044c3271 | |||
c9a01ac68e | |||
8c91f0baaf |
1 changed files with 34 additions and 14 deletions
48
.drone.yml
48
.drone.yml
|
@ -1,17 +1,37 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: linux-amd64
|
name: backend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: backend
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: cami/Bachelorthesis_Code
|
repo: caminsha/behaviobio
|
||||||
username:
|
dockerfile: backend/Dockerfile
|
||||||
from_secret: DOCKER_USERNAME
|
username:
|
||||||
password:
|
from_secret: DOCKER_USERNAME
|
||||||
from_secret: DOCKER_SECRET
|
password:
|
||||||
when:
|
from_secret: DOCKER_SECRET
|
||||||
branch:
|
when:
|
||||||
- main
|
branch:
|
||||||
event:
|
- main
|
||||||
- push
|
event:
|
||||||
|
- push
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: frontend
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: frontend
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: caminsha/behaviobio
|
||||||
|
dockerfile: frontend/Dockerfile
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_SECRET
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
Loading…
Reference in a new issue