cleanup
This commit is contained in:
parent
3a6c690f46
commit
5c8d956b3b
@ -47,6 +47,20 @@ local PipelineBuild(os='linux', arch='amd64') = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "publish-gitea",
|
||||||
|
image: "plugins/gitea-release",
|
||||||
|
pull: "always",
|
||||||
|
settings: {
|
||||||
|
api_key: { "from_secret": "gitea_token"},
|
||||||
|
overwrite: true,
|
||||||
|
title: "${DRONE_TAG}",
|
||||||
|
note: "CHANGELOG.md",
|
||||||
|
},
|
||||||
|
when: {
|
||||||
|
ref: ['refs/tags/**'],
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
15
.drone.yml
15
.drone.yml
@ -41,6 +41,19 @@ steps:
|
|||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
|
- name: publish-gitea
|
||||||
|
pull: always
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
note: CHANGELOG.md
|
||||||
|
overwrite: true
|
||||||
|
title: "${DRONE_TAG}"
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: notifications
|
name: notifications
|
||||||
@ -120,6 +133,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 453c6db4c5b0e41007b25cd604e0aafb38a0a3b97f589410a663b49800cc906c
|
hmac: fef04fcb56b0a0123c681dcef0a87d827daaa88d52514ee180664e12d07417fd
|
||||||
|
|
||||||
...
|
...
|
||||||
|
8
CHANGELOG.md
Normal file
8
CHANGELOG.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# BREAKING RELEASE
|
||||||
|
|
||||||
|
Image is now running rootless and may break your setup!
|
||||||
|
|
||||||
|
* BREAKING
|
||||||
|
* switch to rootless nginx base container
|
||||||
|
* remove s6 init system
|
||||||
|
* replace crond with supercronic
|
@ -1,3 +1,2 @@
|
|||||||
SHELL=/bin/sh
|
SHELL=/bin/sh
|
||||||
0 8 * * * cd /var/www/app && ./cli cronjob >/dev/null 2>&1
|
0 8 * * * cd /var/www/app && ./cli cronjob >/dev/null 2>&1
|
||||||
* * * * * echo "XXXXX"
|
|
||||||
|
Reference in New Issue
Block a user