From 727f276cb0fecd72f6796f7b0b7d8010c3f98032 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sun, 8 Nov 2020 19:38:03 +0000 Subject: [PATCH] Add '.drone.yml' --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c0427c3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +kind: pipeline +type: kubernetes +name: Harbor + +steps: +- name: build & publish + image: plugins/docker + context: . + settings: + repo: registry.spamasaurus.com/library/inotify-rsync + registry: registry.spamasaurus.com + tags: latest + username: + from_secret: harbor_username + password: + from_secret: harbor_password + # environment: + # DOCKER_CONTENT_TRUST: 1 + # DOCKER_CONTENT_TRUST_SERVER: https://notary.spamasaurus.com + # DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: + # from_secret: harbor_repo_passphrase + # DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE: + # from_secret: harbor_root_passphrase + +--- +kind: pipeline +type: kubernetes +name: Dockerhub + +steps: +- name: build & publish + image: plugins/docker + context: . + settings: + repo: djpbessems/inotify-rsync + tags: latest + username: + from_secret: docker_username + password: + from_secret: docker_password