CI-Test/.woodpecker.yml

35 lines
750 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
- ../*.buildinfo
destination_path: /var/www/repository/debian/incoming/input
when:
event: [tag]
branches: master