doing some things #135
1 changed files with 34 additions and 14 deletions
26
.drone.yml
26
.drone.yml
|
@ -1,11 +1,31 @@
|
||||||
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
|
||||||
|
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:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
Loading…
Reference in a new issue