From 13c3ca45767a894909391a8d53b6f9a8446c2dcb Mon Sep 17 00:00:00 2001 From: Nadezhda Fedorova Date: Fri, 8 Nov 2024 16:35:47 +0300 Subject: [PATCH] fix arches according to https://pkg.go.dev/internal/platform --- build.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build.py b/build.py index e01cfb9..63206e4 100755 --- a/build.py +++ b/build.py @@ -16,16 +16,16 @@ LIC_SIS="GPLv3" builddir= "./" dockerfile = "Dockerfile" -arch_map= {'amd64': "x86_64", '386': "i586", 'arm64': "aarch64", "riscv64": "riscv64", "loongarch64": "loongarch64" } +arch_map= {'amd64': "x86_64", '386': "i586", 'arm64': "aarch64", "riscv64": "riscv64", "loong64": "loongarch64" } def parse_args(): registry = "gitea.basealt.ru" - arches = ["amd64", "386", "arm64", "loongarch64", "riscv64"] + arches = ["amd64", "386", "arm64", "loong64", "riscv64"] names=["alt"] latest_tag="p10" org="alt" branches=["p11", "p10", "Sisyphus"] - exclusions='{"p10": ["loongarch64", "riscv64"], "p11": ["loongarch64", "riscv64"]}' + exclusions='{"p10": ["loong64", "riscv64"], "p11": ["loong64", "riscv64"]}' parser = argparse.ArgumentParser( formatter_class=argparse.ArgumentDefaultsHelpFormatter, @@ -255,12 +255,6 @@ def main(): f"docker://{manifest}:latest", ]) - run(["podman", - "manifest", - "rm", - f"{manifest}:latest", - ]) - run(["podman", "manifest", "rm",