diff --git a/.drone.yml b/.drone.yml index d7becb6..cc91b9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ type: kubernetes name: default steps: -- name: docker +- name: Publish to Harbor image: plugins/docker context: . settings: @@ -20,4 +20,17 @@ steps: # DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: # from_secret: harbor_repo_passphrase # DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE: - # from_secret: harbor_root_passphrase \ No newline at end of file + # from_secret: harbor_root_passphrase + depends_on: [ clone ] + +- name: Publish to Dockerhub + image: plugins/docker + context: . + settings: + repo: djpbessems/lighttpd-php-powershell + tags: latest + username: + from_secret: docker_username + password: + from_secret: docker_password + depends_on: [ clone ] \ No newline at end of file