diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy index 854766ca68..2e2e111dcc 100644 --- a/.ci/jenkins/Jenkinsfile.deploy +++ b/.ci/jenkins/Jenkinsfile.deploy @@ -227,22 +227,6 @@ pipeline { } } } - - stage('Push a temporary operator image to a registry') { - when { - expression { return isRelease() } - } - steps { - script { - pushOperatorTemporaryImage() - - // Store image deployment information - setDeployPropertyIfNeeded('operator.image.name', getOperatorImageName()) - setDeployPropertyIfNeeded('operator.image.tag', getOperatorImageTag()) - setDeployPropertyIfNeeded('operator.image.temporary_tag', getOperatorImageTemporaryTag()) - } - } - } } post { always { @@ -527,19 +511,6 @@ String getOperatorImageTag() { return params.OPERATOR_IMAGE_TAG ?: getProjectVersion() } -String getOperatorImageTemporaryTag() { - return "${getOperatorImageTag()}-temporary" -} - -void pushOperatorTemporaryImage() { - String localImage = "${getOperatorImageName()}:latest" - String temporaryImageTag = getOperatorImageTemporaryTag() - String temporaryImageFullName = imageUtils.getImageFullNameWithRegistry(getOperatorImageRegistry(), - getOperatorImageNamespace(), getOperatorImageName(), temporaryImageTag) - imageUtils.tagImage(localImage, temporaryImageFullName) - imageUtils.pushImage(temporaryImageFullName) -} - boolean isDeployDisabled() { return env.DISABLE_DEPLOY.toBoolean() }