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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Extract Tags
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- cat Dockerfile | grep FROM | sed -r 's/FROM .*:(.*).*/\1,latest/' > .tags
|
||||||
|
|
||||||
- name: Build and Push docker
|
- name: Build and Push docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -11,7 +17,8 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: harbor.sebclem.fr/sebclem/renovate
|
repo: harbor.sebclem.fr/sebclem/renovate
|
||||||
registry: harbor.sebclem.fr
|
registry: harbor.sebclem.fr
|
||||||
tags: slim
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
Loading…
Reference in New Issue
Block a user