cnc-speed-calculator/.drone.yml

35 lines
717 B
YAML
Raw Normal View History

2021-12-06 16:54:38 +01:00
name: Build Docker
kind: pipeline
type: docker
steps:
2021-12-13 14:58:43 +01:00
- 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
2021-12-06 16:54:38 +01:00
- 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
2021-12-13 14:58:43 +01:00
when:
branch:
- master
2021-12-06 16:54:38 +01:00
trigger:
event:
- push
- custom