This commit is contained in:
parent
d50093ae0d
commit
ae9917dd6b
18
.drone.yml
18
.drone.yml
@ -2,7 +2,8 @@ name: Build Docker
|
||||
kind: pipeline
|
||||
type: docker
|
||||
steps:
|
||||
- name: Build and Push docker
|
||||
|
||||
- name: Only build image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
@ -13,6 +14,21 @@ steps:
|
||||
registry: harbor.sebclem.fr
|
||||
tags: latest
|
||||
|
||||
- name: Build and Push docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
|
||||
registry: harbor.sebclem.fr
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
Loading…
Reference in New Issue
Block a user