Two docker files
This commit is contained in:
parent
8c91f0baaf
commit
c9a01ac68e
1 changed files with 23 additions and 1 deletions
24
.drone.yml
24
.drone.yml
|
@ -1,11 +1,33 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: linux-amd64
|
name: backend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: cami/Bachelorthesis_Code
|
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:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
Loading…
Reference in a new issue