Delete .drone.yml
This commit is contained in:
parent
1ab384a158
commit
1045be58b4
57
.drone.yml
57
.drone.yml
@ -1,57 +0,0 @@
|
|||||||
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
|
|
||||||
cache_from: harbor.sebclem.fr/sebclem/cnc-speed-calculator
|
|
||||||
registry: harbor.sebclem.fr
|
|
||||||
tags: latest
|
|
||||||
dry_run: true
|
|
||||||
when:
|
|
||||||
target:
|
|
||||||
exclude:
|
|
||||||
- production
|
|
||||||
|
|
||||||
- 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
|
|
||||||
cache_from: harbor.sebclem.fr/sebclem/cnc-speed-calculator
|
|
||||||
registry: harbor.sebclem.fr
|
|
||||||
tags: latest
|
|
||||||
when:
|
|
||||||
target:
|
|
||||||
- production
|
|
||||||
|
|
||||||
- name: Notify
|
|
||||||
image: drillster/drone-email
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: mail_host
|
|
||||||
username:
|
|
||||||
from_secret: mail_username
|
|
||||||
password:
|
|
||||||
from_secret: mail_password
|
|
||||||
from:
|
|
||||||
from_secret: mail_from
|
|
||||||
when:
|
|
||||||
status: [ changed, failure ]
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- custom
|
|
||||||
- promote
|
|
||||||
- rollback
|
|
Loading…
Reference in New Issue
Block a user