Updated woodpecker config for pushing to Linux package repos
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-10-26 15:42:19 -04:00
parent 958ffa397c
commit 8bca6b3b0b

View File

@ -30,3 +30,31 @@ pipeline:
title: "${CI_COMMIT_TAG}" title: "${CI_COMMIT_TAG}"
when: when:
event: tag event: tag
copy_deb_package:
image: appleboy/drone-scp
settings:
host: "repo.int.metaunix.net"
username:
from_secret: repo_admin
password:
from_secret: repo_password
port: 22
target: "/srv/repo/apt/"
source: "target/debian/zealot*.deb"
when:
event: tag
copy_rpm_package:
image: appleboy/drone-scp
settings:
host: "repo.int.metaunix.net"
username:
from_secret: repo_admin
password:
from_secret: repo_password
port: 22
target: "/srv/repo/dnf/"
source: "target/generate-rpm/zealot*.rpm"
when:
event: tag