mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
docker: re-run buildx to push all architectures to latest
tag
This commit is contained in:
parent
f7a6445ea7
commit
f1f86f9a74
@ -541,8 +541,14 @@ def upload(): # pragma: no cover
|
||||
], cwd=docker_build_dir)
|
||||
|
||||
if be.is_prod_release:
|
||||
subprocess.check_call(["docker", "tag", be.docker_tag, "mitmproxy/mitmproxy:latest"])
|
||||
subprocess.check_call(["docker", "push", "mitmproxy/mitmproxy:latest"])
|
||||
subprocess.check_call([
|
||||
"docker", "buildx", "build",
|
||||
"--tag", "mitmproxy/mitmproxy:latest",
|
||||
"--push",
|
||||
"--platform", DOCKER_PLATFORMS,
|
||||
"--build-arg", f"MITMPROXY_WHEEL={whl.name}",
|
||||
"."
|
||||
], cwd=docker_build_dir)
|
||||
|
||||
|
||||
if __name__ == "__main__": # pragma: no cover
|
||||
|
Loading…
Reference in New Issue
Block a user