Skip to content

Commit 42af39d

Browse files
committed
toggle default arch, fix return value for verify step
1 parent 871cb71 commit 42af39d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

airbyte_cdk/utils/docker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def build_connector_image(
149149

150150
base_tag = f"{metadata.data.dockerRepository}:{tag}"
151151
arch_images: list[str] = []
152-
default_arch = "linux/amd64"
152+
default_arch = "linux/arm64" # Assume MacBook M series by default
153153
for arch in ["linux/amd64", "linux/arm64"]:
154154
docker_tag = f"{base_tag}-{arch.replace('/', '-')}"
155155
docker_tag_parts = docker_tag.split("/")
@@ -294,3 +294,5 @@ def verify_image(image_name: str) -> bool:
294294
cmd = ["docker", "run", "--rm", image_name, "spec"]
295295

296296
run_docker_command(cmd)
297+
298+
return True

0 commit comments

Comments
 (0)