From c2634fa42be8a29a9483d6b115c2cf2760183dfd Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Tue, 3 Oct 2023 10:41:08 +0200 Subject: [PATCH] Set podman as default container manager Resolves: #163 Signed-off-by: Sergio Arroutbi --- tools/index_tools/tang_index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/index_tools/tang_index.sh b/tools/index_tools/tang_index.sh index 19f3fdf8..f8312837 100755 --- a/tools/index_tools/tang_index.sh +++ b/tools/index_tools/tang_index.sh @@ -22,7 +22,7 @@ # ./tang_index.sh quay.io/sec-eng-special/tang-operator-bundle:1.0.0-0 1.0.0-0 # # -CONTAINER_MGR='docker' +test -z "${CONTAINER_MGR}" && CONTAINER_MGR='podman' usage() { echo ' ./tang_index.sh quay.io/sec-eng-special/tang-operator-bundle:1.0.0-0 1.0.0-0' @@ -59,7 +59,7 @@ oc image mirror --filter-by-os=".*" --keep-manifest-list "${CO_image_with_digest #2. Build index image echo -e "step 2 \n\n" -opm index add --bundles "${CO_image_with_digest}" --tag quay.io/sec-eng-special/tang-operator-index:v"${version}" -c ${CONTAINER_MGR} +opm index add --bundles "${CO_image_with_digest}" --tag quay.io/sec-eng-special/tang-operator-index:v"${version}" -c "${CONTAINER_MGR}" #3. Push image index to quay.io/sec-eng-special/ echo -e "step 3 \n\n"