build: Switch to kaniko plugin
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c6815721df
commit
38eb4e9faa
11
.drone.yml
11
.drone.yml
@ -6,13 +6,13 @@ steps:
|
|||||||
- name: Build & publish (Harbor)
|
- name: Build & publish (Harbor)
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone
|
- clone
|
||||||
image: plugins/docker
|
image: plugins/kaniko
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
repo: bv11-cr01.bessems.eu/library/json-server
|
repo: library/json-server
|
||||||
registry: bv11-cr01.bessems.eu
|
registry: bv11-cr01.bessems.eu
|
||||||
tags: latest
|
tags: latest
|
||||||
mtu: 1450
|
# mtu: 1450
|
||||||
username:
|
username:
|
||||||
from_secret: harbor_username
|
from_secret: harbor_username
|
||||||
password:
|
password:
|
||||||
@ -20,12 +20,13 @@ steps:
|
|||||||
- name: Build & publish (Dockerhub)
|
- name: Build & publish (Dockerhub)
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone
|
- clone
|
||||||
image: plugins/docker
|
image: plugins/kaniko
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
repo: djpbessems/json-server
|
repo: djpbessems/json-server
|
||||||
|
registry: docker.io
|
||||||
tags: latest
|
tags: latest
|
||||||
mtu: 1450
|
# mtu: 1450
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
|
Loading…
Reference in New Issue
Block a user