switch to plugins/gitea-release

This commit is contained in:
6543 2022-06-14 20:32:50 +02:00
parent f03592ae13
commit 5ff73bed89
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

@ -53,14 +53,17 @@ pipeline:
- PORT=4430 - PORT=4430
release: release:
image: qwerty287/gitea-release-attacher image: plugins/gitea-release
settings: settings:
instance: https://codeberg.org base_url: https://codeberg.org
user: ${CI_REPO_OWNER} file_exists: overwrite
repo: ${CI_REPO_NAME} files: build/codeberg-pages-server
release_tag: ${CI_COMMIT_TAG} api_key:
remove_all: true
token:
from_secret: bot_token from_secret: bot_token
environment:
- DRONE_REPO_OWNER=${CI_REPO_OWNER}
- DRONE_REPO_NAME=${CI_REPO_NAME}
- DRONE_BUILD_EVENT=${CI_BUILD_EVENT}
- DRONE_COMMIT_REF=${CI_COMMIT_REF}
when: when:
event: [ "tag" ] event: [ "tag" ]