cnc-speed-calculator/.drone.yml
sebclem 3185e121ac
Some checks reported errors
continuous-integration/drone/push Build was killed
Update '.drone.yml'
2021-12-13 15:02:26 +01:00

39 lines
773 B
YAML

name: Build Docker
kind: pipeline
type: docker
steps:
- name: Only build image
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:
exclude:
- main
- 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:
- main
trigger:
event:
- push
- custom