renovate-docker/.drone.yml

28 lines
511 B
YAML
Raw Normal View History

2021-12-06 10:15:28 +01:00
name: Build Docker
kind: pipeline
type: docker
steps:
2021-12-16 15:04:31 +01:00
- name: Extract Tags
image: alpine
commands:
- cat Dockerfile | grep FROM | sed -r 's/FROM .*:(.*).*/\1,latest/' > .tags
2021-12-06 10:15:28 +01:00
- 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
2021-12-16 15:04:31 +01:00
2021-12-06 10:15:28 +01:00
trigger:
event:
- push
2021-12-06 10:32:26 +01:00
- cron
2021-12-06 12:54:04 +01:00
- custom
2021-12-06 10:15:28 +01:00