We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6371b6 commit 6e863dfCopy full SHA for 6e863df
src/cmd-import
@@ -37,8 +37,9 @@ def main():
37
buildid = metadata['Labels']['org.opencontainers.image.version']
38
39
builds = Builds()
40
- if builds.has(buildid):
41
- print(f"ERROR: Build ID {buildid} already exists!")
+ arch = get_basearch()
+ if builds.has(buildid) and arch in builds.get_build_arches(buildid):
42
+ print(f"ERROR: Build ID {buildid} ({arch}) already exists!")
43
sys.exit(1)
44
45
with tempfile.TemporaryDirectory(prefix='cosa-import-', dir='tmp') as tmpd:
0 commit comments