Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
sebclem 2021-12-13 14:58:43 +01:00
parent d50093ae0d
commit ae9917dd6b

View File

@ -2,7 +2,8 @@ name: Build Docker
kind: pipeline kind: pipeline
type: docker type: docker
steps: steps:
- name: Build and Push docker
- name: Only build image
image: plugins/docker image: plugins/docker
settings: settings:
username: username:
@ -13,6 +14,21 @@ steps:
registry: harbor.sebclem.fr registry: harbor.sebclem.fr
tags: latest 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: trigger:
event: event:
- push - push