Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximinhan committed Apr 8, 2024
1 parent af075f5 commit 5389445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artbotlib/rhcos.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ async def get_rhcos_build_id_from_release(release_img: str, arch: str) -> str:
logger.info('Retrieving rhcos build ID for %s', release_img)

# Make sure only the release tag is being used
release_img = release_img.replace(constants.NIGHTLY_REGISTRY, '')
release_img = release_img.replace(constants.QUAY_REGISTRY, '')
release_img = release_img.replace(f"{constants.NIGHTLY_REGISTRY}:", '')
release_img = release_img.replace(f"{constants.QUAY_REGISTRY}:", '')

# Arch shouldn't be in the name
rhcos_arch = constants.RC_ARCH_TO_RHCOS_ARCH[arch]
Expand Down

0 comments on commit 5389445

Please sign in to comment.