diff --git a/.woodpecker.yml b/.woodpecker.yml index 3144bfb..d48b55a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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