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
|
||||
name: linux-amd64
|
||||
name: backend
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: cami/Bachelorthesis_Code
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_SECRET
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
- name: backend
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: caminsha/behaviobio
|
||||
dockerfile: backend/Dockerfile
|
||||
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/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