Updated drone yml to update docker latest image (#15)

This commit is contained in:
Shubham Agrawal 2021-03-19 17:46:22 +05:30 committed by GitHub
parent 658478d5ae
commit 0933926fe2
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,4 +58,58 @@ steps:
when:
event:
exclude:
- pull_request
- 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