tilt: specify amd64 for cosmwasm containers

This commit is contained in:
Evan Gray 2024-12-05 14:56:06 -05:00 committed by Evan Gray
parent 6c484440ed
commit b6e4cab719
1 changed files with 5 additions and 0 deletions

View File

@ -685,12 +685,14 @@ if terra_classic:
ref = "terra-image", ref = "terra-image",
context = "./terra/devnet", context = "./terra/devnet",
dockerfile = "terra/devnet/Dockerfile", dockerfile = "terra/devnet/Dockerfile",
platform = "linux/amd64",
) )
docker_build( docker_build(
ref = "terra-contracts", ref = "terra-contracts",
context = "./terra", context = "./terra",
dockerfile = "./terra/Dockerfile", dockerfile = "./terra/Dockerfile",
platform = "linux/amd64",
) )
k8s_yaml_with_ns("devnet/terra-devnet.yaml") k8s_yaml_with_ns("devnet/terra-devnet.yaml")
@ -711,6 +713,7 @@ if terra2 or wormchain:
context = ".", context = ".",
dockerfile = "./cosmwasm/Dockerfile", dockerfile = "./cosmwasm/Dockerfile",
target = "artifacts", target = "artifacts",
platform = "linux/amd64",
) )
if terra2: if terra2:
@ -718,6 +721,7 @@ if terra2:
ref = "terra2-image", ref = "terra2-image",
context = "./cosmwasm/deployment/terra2/devnet", context = "./cosmwasm/deployment/terra2/devnet",
dockerfile = "./cosmwasm/deployment/terra2/devnet/Dockerfile", dockerfile = "./cosmwasm/deployment/terra2/devnet/Dockerfile",
platform = "linux/amd64",
) )
docker_build( docker_build(
@ -825,6 +829,7 @@ if wormchain:
ref = "wormchaind-image", ref = "wormchaind-image",
context = ".", context = ".",
dockerfile = "./wormchain/Dockerfile", dockerfile = "./wormchain/Dockerfile",
platform = "linux/amd64",
build_args = {"num_guardians": str(num_guardians)}, build_args = {"num_guardians": str(num_guardians)},
only = [], only = [],
ignore = ["./wormchain/testing", "./wormchain/ts-sdk", "./wormchain/design", "./wormchain/vue", "./wormchain/build/wormchaind"], ignore = ["./wormchain/testing", "./wormchain/ts-sdk", "./wormchain/design", "./wormchain/vue", "./wormchain/build/wormchaind"],