Extract dockerimage to replicate it
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3cda253a1c
commit
be8a70d156
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user