diff --git a/Jenkinsfile b/Jenkinsfile index d725158..883b26b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -68,12 +68,8 @@ pipeline { } stage('Release') { - when { - // Only deploy to production from infra.ci.jenkins.io - expression { infra.isInfra() } - } steps { - buildDockerAndPublishImage('incrementals-publisher', [automaticSemanticVersioning: true, targetplatforms: 'linux/amd64,linux/arm64']) + buildDockerAndPublishImage('incrementals-publisher', [automaticSemanticVersioning: true, targetplatforms: 'linux/amd64,linux/arm64', disablePublication: !infra.isInfra()]) } } }