cleanup
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Robert Kaussow 2019-09-28 22:04:23 +02:00
parent 3a6c690f46
commit 5c8d956b3b
4 changed files with 36 additions and 2 deletions

View File

@ -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/**'],
},
},
],
};

View File

@ -41,6 +41,19 @@ steps:
- refs/heads/master
- "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
name: notifications
@ -120,6 +133,6 @@ depends_on:
---
kind: signature
hmac: 453c6db4c5b0e41007b25cd604e0aafb38a0a3b97f589410a663b49800cc906c
hmac: fef04fcb56b0a0123c681dcef0a87d827daaa88d52514ee180664e12d07417fd
...

8
CHANGELOG.md Normal file
View 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

View File

@ -1,3 +1,2 @@
SHELL=/bin/sh
0 8 * * * cd /var/www/app && ./cli cronjob >/dev/null 2>&1
* * * * * echo "XXXXX"