Skip to content

Commit

Permalink
Merge pull request #178 from Ximinhan/fix-url
Browse files Browse the repository at this point in the history
fix registry suffix
  • Loading branch information
Ximinhan authored Apr 9, 2024
2 parents 13ecc17 + 5f9d50b commit 779aafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artbotlib/brew_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ def list_component_data_for_release_tag(so, data_type, release_tag):

if 'nightly-' in release_tag:
repo_url = NIGHTLY_REGISTRY
image_url = f'{repo_url}:{release_tag}'
else:
repo_url = QUAY_REGISTRY

image_url = f'{repo_url}:{release_tag}-x86_64'
image_url = f'{repo_url}:{release_tag}-x86_64'

logger.info('Getting image info for %s', image_url)
rc, stdout, stderr = artbotlib.exectools.cmd_assert(so, f'oc adm release info -o=json --pullspecs {image_url}')
Expand Down

0 comments on commit 779aafe

Please sign in to comment.