Skip to content

Commit

Permalink
Merge pull request #2950 from dhellmann/USHIFT-2241-build-images-repo…
Browse files Browse the repository at this point in the history
…-race

USHIFT-2241: use unique repo name when extracting container images
  • Loading branch information
openshift-merge-bot[bot] committed Feb 1, 2024
2 parents 250fce0 + 38afa26 commit 780379e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bin/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ extract_container_images() {
local -r version=$1
local -r repo_url=$2
local -r outfile=$3
local -r repo_name="microshift-extract-images"

echo "Extracting images from ${version}"
mkdir -p "${IMAGEDIR}/release-info-rpms"
pushd "${IMAGEDIR}/release-info-rpms"
dnf_options=""
if [[ -n ${repo_url} ]]; then
local -r repo_name="$(basename "${repo_url}")"
dnf_options="--repofrompath ${repo_name},${repo_url} --repo ${repo_name}"
fi
# shellcheck disable=SC2086 # double quotes
Expand Down

0 comments on commit 780379e

Please sign in to comment.