Switch to Kaniko
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-10-28 07:33:01 +03:00
parent 939c84c6ab
commit 0c6fbfd924

View File

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