Update .woodpecker/build_publish.yml

This commit is contained in:
Jonathan Treffler 2024-04-29 19:08:13 +02:00
parent 18b6992668
commit e9dc8b686b

View file

@ -11,7 +11,7 @@ steps:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.verdigado.com
title: ${CI_COMMIT_TAG}
title: ${CI_COMMIT_TAG##refs/tags/}
files:
- build/artifacts/groupfolder_filesystem_snapshots.tar.gz
api_key:
@ -22,6 +22,7 @@ steps:
image: git.verdigado.com/verdigado-public/krankerl_docker:latest
commands:
- krankerl login --appstore "$${NEXTCLOUD_APPSTORE_TOKEN}"
- mkdir -p ~/.nextcloud/certificates/
- echo "$${NEXTCLOUD_APPSTORE_SIGNING_KEY}" | base64 -d > ~/.nextcloud/certificates/groupfolder_filesystem_snapshots.key
- krankerl publish https://git.verdigado.com/verdigado-public/nextcloud_groupfolder_filesystem_snapshots/releases/download/$${CI_COMMIT_TAG}/groupfolder_filesystem_snapshots.tar.gz
secrets: [ NEXTCLOUD_APPSTORE_TOKEN, NEXTCLOUD_APPSTORE_SIGNING_KEY ]