Update '.drone.yml'
This commit is contained in:
parent
74ee743803
commit
cf0c4bf416
15
.drone.yml
15
.drone.yml
@ -1,9 +1,9 @@
|
||||
kind: pipeline
|
||||
#type: kubernetes
|
||||
name: default
|
||||
type: kubernetes
|
||||
name: Harbor
|
||||
|
||||
steps:
|
||||
- name: Publish to Harbor
|
||||
- name: build & publish
|
||||
image: plugins/docker
|
||||
context: .
|
||||
settings:
|
||||
@ -21,9 +21,13 @@ steps:
|
||||
# from_secret: harbor_repo_passphrase
|
||||
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
|
||||
# from_secret: harbor_root_passphrase
|
||||
depends_on: [ clone ]
|
||||
|
||||
- name: Publish to Dockerhub
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Dockerhub
|
||||
|
||||
- name: build & publish
|
||||
image: plugins/docker
|
||||
context: .
|
||||
settings:
|
||||
@ -33,4 +37,3 @@ steps:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
depends_on: [ clone ]
|
Loading…
Reference in New Issue
Block a user