Skip to content

Commit e9fa353

Browse files
committed
add uploading linux-aarch64 biocontainers
Signed-off-by: wjunLu <[email protected]>
1 parent 41b2416 commit e9fa353

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bioconda_utils/artifacts.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def upload_pr_artifacts(config, repo, git_sha, dryrun=False, mulled_upload_targe
8989
quay_login = os.environ['QUAY_LOGIN']
9090

9191
pattern = f"{tmpdir}/*/images/*.tar.gz"
92+
if artifact_source == "circleci":
93+
pattern = f"{tmpdir}/*/*/images/*.tar.gz"
94+
9295
logger.info(f"Checking for images at {pattern}.")
9396
for img in glob.glob(pattern):
9497
m = IMAGE_RE.match(os.path.basename(img))
@@ -97,6 +100,8 @@ def upload_pr_artifacts(config, repo, git_sha, dryrun=False, mulled_upload_targe
97100
if label:
98101
# add label to tag
99102
tag = f"{tag}-{label}"
103+
if artifact_source == "circleci":
104+
name = name + "-aarch64"
100105
target = f"{mulled_upload_target}/{name}:{tag}"
101106
# Skopeo can't handle a : in the file name
102107
fixed_img_name = img.replace(":", "_")

0 commit comments

Comments
 (0)