Fix s3_determine func
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 4s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2024-05-07 23:47:11 -07:00
parent 3e6d7d3cc0
commit bad06d19b5
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -642,10 +642,12 @@ class Shared:
for arch in arches:
temps = []
new_arch = arch
new_release = release
# This is lazy, but...
if root_prefix == 'buildiso':
new_arch = translators[arch]
start_of_path = f"{root_prefix}-{release.split('.')[0]}-{new_arch}"
new_release = release.split('.')[0]
start_of_path = f"{root_prefix}-{new_release}-{new_arch}"
for y in temp:
if arch in y and y.startswith(start_of_path):
temps.append(y)