Merge pull request 'doing some things' (#135) from enhancement/cicd into main
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: #135
This commit is contained in:
cami 2021-07-12 00:34:15 +00:00
commit 649c80b5fc

View file

@ -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