Compare commits
No commits in common. "adff3b98200e32a5efb114bcf4ff4d6072d4ffd2" and "266aded5abcfcd8c4b465c592f84b38892938623" have entirely different histories.
adff3b9820
...
266aded5ab
1 changed files with 2 additions and 30 deletions
32
.drone.yml
32
.drone.yml
|
@ -29,38 +29,10 @@ name: build and publish
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
- cron
|
||||||
- promote
|
- promote
|
||||||
target:
|
target:
|
||||||
- production
|
- production
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker build
|
|
||||||
image: plugins/docker
|
|
||||||
environment:
|
|
||||||
REVISION: ${DRONE_COMMIT_SHA}
|
|
||||||
CREATED: ${DRONE_BUILD_CREATED}
|
|
||||||
SOURCE_URL: ${DRONE_GIT_HTTP_URL}
|
|
||||||
settings:
|
|
||||||
purge: true
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub_user
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub_key
|
|
||||||
repo: varakh/hetzner-storagebox-exporter
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: monhtly build and publish
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- cron
|
|
||||||
cron:
|
cron:
|
||||||
include:
|
include:
|
||||||
- monthly
|
- monthly
|
||||||
|
@ -81,7 +53,6 @@ steps:
|
||||||
repo: varakh/hetzner-storagebox-exporter
|
repo: varakh/hetzner-storagebox-exporter
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- monthly
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
@ -107,4 +78,5 @@ steps:
|
||||||
from_secret: mail_from
|
from_secret: mail_from
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
Loading…
Reference in a new issue