renovate-docker/.drone.yml
SebClem 15c9e410d8
Some checks failed
continuous-integration/drone/push Build is failing
Only on master
2021-12-16 15:06:13 +01:00

30 lines
534 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,latest/' > .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
trigger:
event:
- push
- cron
- custom
branch:
- master