cnc-speed-calculator/.drone.yml
sebclem 4c6a45f010
Some checks failed
continuous-integration/drone/push Build is failing
ci/woodpecker/push/drone Pipeline failed
Update '.drone.yml'
2022-01-14 14:44:59 +01:00

32 lines
743 B
YAML

pipeline:
only-buid:
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
dry_run: true
when:
environment:
exclude: production
build-and-push:
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
environment:
- production