doing some things #135
1 changed files with 23 additions and 1 deletions
24
.drone.yml
24
.drone.yml
|
@ -1,11 +1,33 @@
|
|||
kind: pipeline
|
||||
name: linux-amd64
|
||||
name: backend
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: cami/Bachelorthesis_Code
|
||||
dockerfile: backend/Dockerfile
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_SECRET
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
name: frontend
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: cami/Bachelorthesis_Code
|
||||
dockerfile: frontend/Dockerfile
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
|
|
Loading…
Reference in a new issue