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)
|
], cwd=docker_build_dir)
|
||||||
|
|
||||||
if be.is_prod_release:
|
if be.is_prod_release:
|
||||||
subprocess.check_call(["docker", "tag", be.docker_tag, "mitmproxy/mitmproxy:latest"])
|
subprocess.check_call([
|
||||||
subprocess.check_call(["docker", "push", "mitmproxy/mitmproxy:latest"])
|
"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
|
if __name__ == "__main__": # pragma: no cover
|
||||||
|
|
Loading…
Reference in New Issue