Updated woodpecker config for pushing to Linux package repos
This commit is contained in:
parent
958ffa397c
commit
8bca6b3b0b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user