fix arches according to https://pkg.go.dev/internal/platform
This commit is contained in:
parent
460f6893e6
commit
13c3ca4576
12
build.py
12
build.py
@ -16,16 +16,16 @@ LIC_SIS="GPLv3"
|
|||||||
builddir= "./"
|
builddir= "./"
|
||||||
dockerfile = "Dockerfile"
|
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():
|
def parse_args():
|
||||||
registry = "gitea.basealt.ru"
|
registry = "gitea.basealt.ru"
|
||||||
arches = ["amd64", "386", "arm64", "loongarch64", "riscv64"]
|
arches = ["amd64", "386", "arm64", "loong64", "riscv64"]
|
||||||
names=["alt"]
|
names=["alt"]
|
||||||
latest_tag="p10"
|
latest_tag="p10"
|
||||||
org="alt"
|
org="alt"
|
||||||
branches=["p11", "p10", "Sisyphus"]
|
branches=["p11", "p10", "Sisyphus"]
|
||||||
exclusions='{"p10": ["loongarch64", "riscv64"], "p11": ["loongarch64", "riscv64"]}'
|
exclusions='{"p10": ["loong64", "riscv64"], "p11": ["loong64", "riscv64"]}'
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||||
@ -255,12 +255,6 @@ def main():
|
|||||||
f"docker://{manifest}:latest",
|
f"docker://{manifest}:latest",
|
||||||
])
|
])
|
||||||
|
|
||||||
run(["podman",
|
|
||||||
"manifest",
|
|
||||||
"rm",
|
|
||||||
f"{manifest}:latest",
|
|
||||||
])
|
|
||||||
|
|
||||||
run(["podman",
|
run(["podman",
|
||||||
"manifest",
|
"manifest",
|
||||||
"rm",
|
"rm",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user