From 0933926fe2f57758cdeb8654ef5dfe1b362d60f4 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Fri, 19 Mar 2021 17:46:22 +0530 Subject: [PATCH] Updated drone yml to update docker latest image (#15) --- .drone.yml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 67e5332..64221af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -58,4 +58,58 @@ steps: when: event: exclude: - - pull_request \ No newline at end of file + - pull_request + +--- +kind: pipeline +type: docker +name: notifications-docker + +platform: + os: linux + arch: amd64 + +steps: +- name: manifest-docker + pull: always + image: plugins/manifest + settings: + auto_tag: true + ignore_missing: true + password: + from_secret: docker_password + spec: docker/docker/manifest.tmpl + username: + from_secret: docker_username + +- name: manifest-gcr + pull: always + image: plugins/manifest + settings: + auto_tag: true + ignore_missing: true + password: + from_secret: docker_password + spec: docker/gcr/manifest.tmpl + username: + from_secret: docker_username + +- name: manifest-ecr + pull: always + image: plugins/manifest + settings: + auto_tag: true + ignore_missing: true + password: + from_secret: docker_password + spec: docker/ecr/manifest.tmpl + username: + from_secret: docker_username + +trigger: + ref: + - refs/heads/main + - "refs/tags/**" + +depends_on: +- default \ No newline at end of file