cnc-speed-calculator/.drone.yml

32 lines
743 B
YAML
Raw Normal View History

2022-01-14 14:44:59 +01:00
pipeline:
only-buid:
name: Only build image
2021-12-13 14:58:43 +01:00
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 15:21:41 +01:00
dry_run: true
2021-12-13 15:00:06 +01:00
when:
2022-01-14 14:42:24 +01:00
environment:
exclude: production
2021-12-13 14:58:43 +01:00
2022-01-14 14:44:59 +01:00
build-and-push:
2021-12-06 16:54:38 +01:00
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:
2021-12-13 15:02:26 +01:00
- main
2022-01-14 14:42:24 +01:00
environment:
- production