Two docker files
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
cami 2021-07-12 02:24:19 +02:00
parent 8c91f0baaf
commit c9a01ac68e

View file

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