ci: Publish container image to Gitea
dustin/hudctrl/pipeline/head This commit looks good
Details
dustin/hudctrl/pipeline/head This commit looks good
Details
The Docker Distribution image resitry is no more.master
parent
a14921b79e
commit
d278eedcbd
|
@ -63,7 +63,12 @@ pipeline {
|
|||
stage('Publish Container') {
|
||||
steps {
|
||||
container('podman') {
|
||||
sh '. ci/publish-container.sh'
|
||||
withCredentials([usernameColonPassword(
|
||||
credentialsId: 'jenkins-packages',
|
||||
variable: 'PODMAN_AUTH',
|
||||
)]) {
|
||||
sh '. ci/publish-container.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
|
||||
push() {
|
||||
tag=$(tag_name "$1")
|
||||
podman push hudctrl:$(tag_name ${BUILD_TAG}) registry.pyrocufflink.blue/hudctrl:${tag}
|
||||
podman push \
|
||||
--creds="${PODMAN_AUTH}" \
|
||||
hudctrl:$(tag_name ${BUILD_TAG}) \
|
||||
git.pyrocufflink.blue/containerimages/hudctrl:${tag}
|
||||
}
|
||||
|
||||
push ${BUILD_TAG}
|
||||
|
|
Loading…
Reference in New Issue