Skip to content

Commit

Permalink
[BXMSPROD-2122] replace docker command by podman (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira authored Sep 13, 2023
1 parent e8935f1 commit f32caa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions job-dsls/jobs/osbs/bamoe_osbs_seed_cloud_jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions job-dsls/jobs/osbs/rhpam_osbs_seed_cloud_jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f32caa0

Please sign in to comment.