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 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 ]