From f9d12dcb40b6425c9f4c72255736508ccb6f84f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:56:03 +0100 Subject: [PATCH] chore: build docker image on ci.jenkins.io too --- Jenkinsfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ac4fb78..d4e1565 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,17 +26,9 @@ pipeline { } } - stage('Containers') { - when { expression { !infra.isInfra() } } + stage('Container') { steps { - sh 'make container' - } - } - - stage('Publish container') { - when { expression { infra.isInfra() } } - steps { - buildDockerAndPublishImage('uplink', [unstash: 'build', targetplatforms: 'linux/amd64,linux/arm64']) + buildDockerAndPublishImage('uplink', [unstash: 'build', targetplatforms: 'linux/amd64,linux/arm64', disablePublication: !infra.isInfra()]) } } }