From 8c91f0baaf386f84bd16e81af127a6dbaeff41f3 Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 12 Jul 2021 02:19:28 +0200 Subject: [PATCH 1/4] doing some things --- .drone.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73bdbe6..9a31bb8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,16 +2,16 @@ kind: pipeline name: linux-amd64 steps: - - name: docker - image: plugins/docker - settings: - repo: cami/Bachelorthesis_Code - username: - from_secret: DOCKER_USERNAME - password: - from_secret: DOCKER_SECRET - when: - branch: - - main - event: - - push +- name: docker + image: plugins/docker + settings: + repo: cami/Bachelorthesis_Code + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_SECRET + when: + branch: + - main + event: + - push -- 2.45.2 From c9a01ac68e662f231d1bcb4a38fae24426aa1603 Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 12 Jul 2021 02:24:19 +0200 Subject: [PATCH 2/4] Two docker files --- .drone.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9a31bb8..62e46c1 100644 --- a/.drone.yml +++ b/.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: -- 2.45.2 From 6d044c327101480a7fb07bd6600d9a2450e1cd0b Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 12 Jul 2021 02:27:31 +0200 Subject: [PATCH 3/4] changed names and repos --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 62e46c1..fb221c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,10 +2,10 @@ kind: pipeline name: backend steps: -- name: docker +- name: backend image: plugins/docker settings: - repo: cami/Bachelorthesis_Code + repo: caminsha/behaviobio dockerfile: backend/Dockerfile username: from_secret: DOCKER_USERNAME @@ -23,10 +23,10 @@ kind: pipeline name: frontend steps: -- name: docker +- name: frontend image: plugins/docker settings: - repo: cami/Bachelorthesis_Code + repo: caminsha/behaviobio dockerfile: frontend/Dockerfile username: from_secret: DOCKER_USERNAME -- 2.45.2 From 123ece89bea34a2b47c49f1cb1f8ac0730d578e6 Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 12 Jul 2021 02:34:01 +0200 Subject: [PATCH 4/4] removed empty things.. --- .drone.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fb221c1..b257bc3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,9 +16,7 @@ steps: - main event: - push - --- - kind: pipeline name: frontend -- 2.45.2