Switch to Kaniko

master
Lauri Võsandi 3 months ago
parent 939c84c6ab
commit 0c6fbfd924
  1. 14
      .drone.yml

@ -5,12 +5,10 @@ name: default
steps:
- name: backend
image: plugins/docker
image: harbor.k-space.ee/k-space/drone-kaniko
settings:
repo: harbor.k-space.ee/${DRONE_REPO}
repo: ${DRONE_REPO}
registry: harbor.k-space.ee
mtu: 1300
storage_driver: vfs
context: backend/
dockerfile: backend/Dockerfile
username:
@ -18,15 +16,13 @@ steps:
password:
from_secret: docker_password
- name: frontend
image: plugins/docker
image: harbor.k-space.ee/k-space/drone-kaniko
settings:
repo: harbor.k-space.ee/${DRONE_REPO}-frontend
repo: ${DRONE_REPO}-frontend
registry: harbor.k-space.ee
mtu: 1300
storage_driver: vfs
context: frontend/
dockerfile: frontend/Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
from_secret: docker_password

Loading…
Cancel
Save