From 465ed81044b9a8d17c5ba4a6eb36862888ac7e27 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 26 Jul 2022 16:40:35 +0200 Subject: [PATCH] fix(ci): use docker.io/volkerraschek/drone-email:0.1.0 --- .drone.yml | 148 +++++++++++++++++++++++++++++------------------------ 1 file changed, 80 insertions(+), 68 deletions(-) diff --git a/.drone.yml b/.drone.yml index 99cc841..41a7570 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,15 +18,17 @@ steps: - name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address - image: docker.io/drillster/drone-email:latest + image: docker.io/volkerraschek/drone-email:0.1.1 resources: limits: cpu: 150 @@ -70,17 +72,19 @@ steps: - name: docker_socket path: /var/run/docker.sock -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -130,20 +134,19 @@ steps: password: from_secret: container_image_registry_password -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address - volumes: - - name: docker_socket - path: /var/run/docker.sock + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -195,17 +198,19 @@ steps: - name: docker_socket path: /var/run/docker.sock -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -253,20 +258,19 @@ steps: password: from_secret: container_image_registry_password -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address - volumes: - - name: docker_socket - path: /var/run/docker.sock + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -306,17 +310,19 @@ steps: password: from_secret: container_image_registry_password -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 resources: limits: cpu: 150 @@ -369,17 +375,19 @@ steps: - name: docker_socket path: /var/run/docker.sock -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -426,17 +434,19 @@ steps: - name: docker_socket path: /var/run/docker.sock -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 when: status: - changed @@ -470,17 +480,19 @@ steps: password: from_secret: container_image_registry_password -- name: notify - image: docker.io/drillster/drone-email:latest +- name: email-notification environment: - PLUGIN_HOST: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: from_secret: smtp_host - PLUGIN_USERNAME: + SMTP_USERNAME: from_secret: smtp_username - PLUGIN_PASSWORD: + SMTP_PASSWORD: from_secret: smtp_password - PLUGIN_FROM: - from_secret: smtp_mail_address + image: docker.io/volkerraschek/drone-email:0.1.1 resources: limits: cpu: 150