Merge pull request 'doing some things' (#135) from enhancement/cicd into main
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #135
This commit is contained in:
commit
649c80b5fc
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