CI: upgrade syntax
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2024-01-22 01:52:20 +01:00
parent 1c12d4fce5
commit 7f53b8aa56

View file

@ -3,7 +3,7 @@ clone:
image: woodpeckerci/plugin-git
tags: true
pipeline:
steps:
tests:
image: brenard/python-pre-commit:latest
commands:
@ -15,24 +15,25 @@ pipeline:
image: brenard/debian-python-deb
when:
event: tag
depends_on: [tests]
commands:
- echo "$GPG_KEY"|base64 -d|gpg --import
- ./build.sh --quiet
secrets: [maintainer_name, maintainer_email, gpg_key, debian_codename]
publish-dryrun:
group: publish
image: alpine
when:
event: tag
depends_on: [build]
commands:
- ls dist/* dist/check-forgejo-upgrade-*/check_forgejo_upgrade
publish-gitea:
group: publish
image: plugins/gitea-release
when:
event: tag
depends_on: [build]
settings:
api_key:
from_secret: gitea_token
@ -46,10 +47,10 @@ pipeline:
- sha512
publish-apt:
group: publish
image: brenard/aptly-publish
when:
event: tag
depends_on: [build]
settings:
api_url:
from_secret: apt_api_url