renovate-docker/.drone.yml

30 lines
532 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:
2021-12-16 15:34:26 +01:00
- cat Dockerfile | grep FROM | sed -r 's/FROM .*:(.*).*/\1,slim/' > .tags
2021-12-16 15:04:31 +01:00
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-16 15:06:13 +01:00
branch:
- master
2021-12-06 10:15:28 +01:00