Files
CI-Test/.woodpecker.yml
Kevin Dorner 13c25eb2ea
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci: fix plugin tag
2022-09-22 12:24:38 +02:00

34 lines
719 B
YAML

pipeline:
build_deb:
image: gitea.mdg-hamburg.de/ci-tools/deb-buildpackage:latest
pull: true
commands:
- make package
- ls ..
- dpkg -c ../*.deb
when:
event: [push, tag]
publish:
image: docker.io/plugins/sftp:linux-amd64
pull: true
settings:
host:
from_secret: deb_repo_ssh_host
port:
from_secret: deb_repo_ssh_port
username:
from_secret: deb_repo_ssh_username
password:
from_secret: deb_repo_ssh_password
files:
- ../*.deb
- ../*.dsc
- ../*.git
- ../*.changes
destination_path: /var/www/repository/debian/incoming
when:
event: [tag]
branches: master