Update drone pipeline
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0397eabadc
commit
6cfd270096
56
.drone.yml
56
.drone.yml
|
@ -3,6 +3,54 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: caddyversion_update
|
||||
image: hairyhenderson/dockerfiles-builder:latest
|
||||
commands:
|
||||
- make update
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- bump_version
|
||||
- name: caddyversion_commit
|
||||
image: appleboy/drone-git-push
|
||||
setting:
|
||||
branch: master
|
||||
remote: git@github.com:productionwentdown/caddy.git
|
||||
commit: true
|
||||
commit_message: Bump Caddy version
|
||||
ssh_key:
|
||||
from_secret: github_ssh_key
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- bump_version
|
||||
- name: stackbrew_regenerate
|
||||
image: hairyhenderson/dockerfiles-builder:latest
|
||||
commands:
|
||||
- make library/caddy
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- update
|
||||
cron:
|
||||
- update
|
||||
- name: stackbrew_commit
|
||||
image: appleboy/drone-git-push
|
||||
setting:
|
||||
branch: master
|
||||
remote: git@github.com:productionwentdown/caddy.git
|
||||
commit: true
|
||||
commit_message: Regenerate stackbrew library
|
||||
ssh_key:
|
||||
from_secret: github_ssh_key
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- update
|
||||
cron:
|
||||
- update
|
||||
- name: dockerhub
|
||||
image: hairyhenderson/dockerfiles-builder:latest
|
||||
volumes:
|
||||
|
@ -11,7 +59,7 @@ steps:
|
|||
commands:
|
||||
- bashbrew build --pull always caddy
|
||||
- echo $PASSWORD | docker login --username $USERNAME --password-stdin
|
||||
- bashbrew push productionwentdown/caddy
|
||||
- bashbrew push caddy
|
||||
environment:
|
||||
BASHBREW_LIBRARY: ./library
|
||||
BASHBREW_NAMESPACE: caddy
|
||||
|
@ -19,6 +67,12 @@ steps:
|
|||
from_secret: dockerhub_username
|
||||
PASSWORD:
|
||||
from_secret: dockerhub_token
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- update
|
||||
cron:
|
||||
- update
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Maintainers: Ambrose Chua <ambrose@makerforce.io> (@serverwentdown)
|
||||
GitRepo: https://github.com/productionwentdown/caddy.git
|
||||
GitCommit: 326aceeeb78d799afc27849c98368d535708966a
|
||||
GitCommit: 0397eabadc77be2267c1bb44a1495e04bd0b24f7
|
||||
|
||||
Tags: 2.0.0, 2, latest
|
||||
Architectures: amd64, arm64v8, arm32v6, arm32v7
|
||||
|
|
Loading…
Reference in New Issue