Update '.drone.yml'
This commit is contained in:
parent
74ee743803
commit
cf0c4bf416
17
.drone.yml
17
.drone.yml
@ -1,9 +1,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
#type: kubernetes
|
type: kubernetes
|
||||||
name: default
|
name: Harbor
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Publish to Harbor
|
- name: build & publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
@ -20,10 +20,14 @@ steps:
|
|||||||
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
|
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
|
||||||
# from_secret: harbor_repo_passphrase
|
# from_secret: harbor_repo_passphrase
|
||||||
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
|
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
|
||||||
# from_secret: harbor_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
|
image: plugins/docker
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
@ -33,4 +37,3 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
depends_on: [ clone ]
|
|
Loading…
Reference in New Issue
Block a user