Simplify Drone config
This commit is contained in:
parent
b8e9f03b86
commit
5060e36d02
30
.drone.yml
30
.drone.yml
@ -1,28 +1,2 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: backend
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: harbor.k-space.ee/${DRONE_REPO}
|
||||
registry: harbor.k-space.ee
|
||||
context: backend/
|
||||
dockerfile: backend/Dockerfile
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
- name: frontend
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: harbor.k-space.ee/${DRONE_REPO}-frontend
|
||||
registry: harbor.k-space.ee
|
||||
context: frontend/
|
||||
dockerfile: frontend/Dockerfile
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
kind: template
|
||||
load: docker.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user