Skip to content
Open
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
5 changes: 5 additions & 0 deletions bioconda_utils/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ def upload_pr_artifacts(config, repo, git_sha, dryrun=False, mulled_upload_targe
quay_login = os.environ['QUAY_LOGIN']

pattern = f"{tmpdir}/*/images/*.tar.gz"
if artifact_source == "circleci":
pattern = f"{tmpdir}/*/*/images/*.tar.gz"

logger.info(f"Checking for images at {pattern}.")
for img in glob.glob(pattern):
m = IMAGE_RE.match(os.path.basename(img))
Expand All @@ -97,6 +100,8 @@ def upload_pr_artifacts(config, repo, git_sha, dryrun=False, mulled_upload_targe
if label:
# add label to tag
tag = f"{tag}-{label}"
if artifact_source == "circleci":
name = name + "-aarch64"
target = f"{mulled_upload_target}/{name}:{tag}"
# Skopeo can't handle a : in the file name
fixed_img_name = img.replace(":", "_")
Expand Down