ci: Publish to Gitea
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
Details
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
Details
registry.pyrocufflink.blue is going away. All container images hosted there are being moved to Gitea.master
parent
c748e19236
commit
4fbc5ca781
|
@ -53,10 +53,15 @@ pipeline {
|
||||||
stage('Publish Container') {
|
stage('Publish Container') {
|
||||||
steps {
|
steps {
|
||||||
container('buildah') {
|
container('buildah') {
|
||||||
|
withCredentials([usernameColonPassword(
|
||||||
|
credentialsId: 'jenkins-packages',
|
||||||
|
variable: 'BUILDAH_CREDS',
|
||||||
|
)]) {
|
||||||
sh '. ci/publish-container.sh'
|
sh '. ci/publish-container.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
|
|
||||||
push() {
|
push() {
|
||||||
tag=$(tag_name "$1")
|
tag=$(tag_name "$1")
|
||||||
buildah push pythonctnr:$(tag_name ${BUILD_TAG}) registry.pyrocufflink.blue/pythonctnr:${tag}
|
buildah push --creds "${BUILDAH_CREDS}" \
|
||||||
|
pythonctnr:$(tag_name ${BUILD_TAG}) \
|
||||||
|
git.pyrocufflink.net/containerimages/pythonctnr:${tag}
|
||||||
}
|
}
|
||||||
|
|
||||||
push ${BUILD_TAG}
|
push ${BUILD_TAG}
|
||||||
|
|
Loading…
Reference in New Issue