ci: push to Harbor registry
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
94a4613d72
commit
2309c4cccd
|
@ -34,7 +34,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
IMAGE_NAME = 'statusteam/logos-press-engine'
|
IMAGE_NAME = 'status-private/logos-press-engine'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
@ -80,7 +80,7 @@ pipeline {
|
||||||
stage('Push') {
|
stage('Push') {
|
||||||
steps { script {
|
steps { script {
|
||||||
withDockerRegistry([
|
withDockerRegistry([
|
||||||
credentialsId: 'dockerhub-statusteam-auto', url: ''
|
credentialsId: 'harbor-status-private-robot', url: 'https://harbor.status.im'
|
||||||
]) {
|
]) {
|
||||||
image.push()
|
image.push()
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ pipeline {
|
||||||
when { expression { params.IMAGE_TAG != '' } }
|
when { expression { params.IMAGE_TAG != '' } }
|
||||||
steps { script {
|
steps { script {
|
||||||
withDockerRegistry([
|
withDockerRegistry([
|
||||||
credentialsId: 'dockerhub-statusteam-auto', url: ''
|
credentialsId: 'harbor-status-private-robot', url: 'https://harbor.status.im'
|
||||||
]) {
|
]) {
|
||||||
image.push(params.IMAGE_TAG)
|
image.push(params.IMAGE_TAG)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue