renovate-docker/.drone.yml
SebClem e0deb8acaa
All checks were successful
continuous-integration/drone/push Build is passing
🤖 Add notification
2022-02-01 11:25:07 +01:00

43 lines
834 B
YAML

name: Build Docker
kind: pipeline
type: docker
steps:
- name: Extract Tags
image: alpine
commands:
- cat Dockerfile | grep FROM | sed -r 's/FROM .*:(.*).*/\1,slim/' > .tags
- name: Build and Push docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: harbor.sebclem.fr/sebclem/renovate
registry: harbor.sebclem.fr
- name: Notify
image: drillster/drone-email
settings:
host:
from_secret: mail_host
username:
from_secret: mail_username
password:
from_secret: mail_password
from:
from_secret: mail_from
when:
status: [ changed, failure ]
trigger:
event:
- push
- cron
- custom
branch:
- master