Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Set podman as default container manager #164

Merged
merged 1 commit into from
Oct 3, 2023
Merged
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 tools/index_tools/tang_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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"
Expand Down