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