Generalize Drone config

This commit is contained in:
Lauri Võsandi 2022-02-09 12:33:43 +02:00
parent ddc73ad30c
commit 6b977a09b4

View File

@ -7,7 +7,7 @@ steps:
- name: backend - name: backend
image: plugins/docker image: plugins/docker
settings: settings:
repo: harbor.k-space.ee/k-space/log-viewer repo: harbor.k-space.ee/${DRONE_REPO}
registry: harbor.k-space.ee registry: harbor.k-space.ee
context: backend/ context: backend/
dockerfile: backend/Dockerfile dockerfile: backend/Dockerfile
@ -18,7 +18,7 @@ steps:
- name: frontend - name: frontend
image: plugins/docker image: plugins/docker
settings: settings:
repo: harbor.k-space.ee/k-space/log-viewer-frontend repo: harbor.k-space.ee/${DRONE_REPO}-frontend
registry: harbor.k-space.ee registry: harbor.k-space.ee
context: frontend/ context: frontend/
dockerfile: frontend/Dockerfile dockerfile: frontend/Dockerfile