diff --git a/.drone.yml b/.drone.yml index 869d77d..2794cc4 100644 --- a/.drone.yml +++ b/.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: @@ -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 ] \ No newline at end of file