ci: Publish to Gitea
Some checks reported errors
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
dustin/pythonctnr/pipeline/head Something is wrong with the build of this commit
registry.pyrocufflink.blue is going away. All container images hosted there are being moved to Gitea.
This commit is contained in:
7
ci/Jenkinsfile
vendored
7
ci/Jenkinsfile
vendored
@@ -53,7 +53,12 @@ pipeline {
|
||||
stage('Publish Container') {
|
||||
steps {
|
||||
container('buildah') {
|
||||
sh '. ci/publish-container.sh'
|
||||
withCredentials([usernameColonPassword(
|
||||
credentialsId: 'jenkins-packages',
|
||||
variable: 'BUILDAH_CREDS',
|
||||
)]) {
|
||||
sh '. ci/publish-container.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
|
||||
push() {
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user