From 5931233cdb4c584b945bf88f2d72eda1e7e88652 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Wed, 13 Sep 2023 14:30:02 +0200 Subject: [PATCH] [BXMSPROD-2122] replace docker command by podman --- job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy | 4 ++-- job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy b/job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy index e38bdd34..0bf4f6ed 100644 --- a/job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy +++ b/job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy @@ -128,11 +128,11 @@ prodComponent.each { Component -> script { // pull from brew registry echo "Pulling the ${env.BUILT_IMAGE} image..." - sh "docker pull ${env.BUILT_IMAGE}" + sh "podman pull ${env.BUILT_IMAGE}" // tag to the expected image name def tagTo = "ibm-bamoe/${env.PROD_COMPONENT}-rhel8:${env.PROD_VERSION}" - sh "docker tag ${env.BUILT_IMAGE} ${tagTo}" + sh "podman tag ${env.BUILT_IMAGE} ${tagTo}" def get_dir = sh(returnStdout: true, script: \'\'\' #!/bin/bash diff --git a/job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy b/job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy index cf4afdf8..f35cc797 100644 --- a/job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy +++ b/job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy @@ -127,11 +127,11 @@ prodComponent.each { Component -> script { // pull from brew registry echo "Pulling the ${env.BUILT_IMAGE} image..." - sh "docker pull ${env.BUILT_IMAGE}" + sh "podman pull ${env.BUILT_IMAGE}" // tag to the expected image name def tagTo = "rhpam-7/${env.PROD_COMPONENT}-rhel8:${env.PROD_VERSION}" - sh "docker tag ${env.BUILT_IMAGE} ${tagTo}" + sh "podman tag ${env.BUILT_IMAGE} ${tagTo}" def get_dir = sh(returnStdout: true, script: \'\'\' #!/bin/bash