Update '.drone.yml'

This commit is contained in:
Danny Bessems 2020-08-17 15:55:09 +00:00
parent 74ee743803
commit cf0c4bf416
1 changed files with 10 additions and 7 deletions

View File

@ -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:
@ -20,10 +20,14 @@ steps:
# DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE:
# from_secret: harbor_repo_passphrase
# DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE:
# from_secret: harbor_root_passphrase
depends_on: [ clone ]
# from_secret: harbor_root_passphrase
- 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 ]