Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BXMSPROD-2122] replace docker command by podman #1536

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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