Extract dockerimage to replicate it
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
SebClem 2021-12-16 15:04:31 +01:00
parent 3cda253a1c
commit be8a70d156
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305

View File

@ -2,6 +2,12 @@ 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:
@ -11,7 +17,8 @@ steps:
from_secret: docker_password
repo: harbor.sebclem.fr/sebclem/renovate
registry: harbor.sebclem.fr
tags: slim
trigger:
event:
- push