Skip to content

Commit e2aa698

Browse files
committed
build: Only pull amd64 images
When pulling images, we now specify the platform to "linux/amd64" to avoid pulling images for the wrong platform.
1 parent 15cf05b commit e2aa698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildchain/buildchain/docker_command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def docker_pull(
294294
# For some reason, the repository must include the image name…
295295
f"{repository}/{name}",
296296
tag=version,
297+
platform="linux/amd64",
297298
)
298299
if digest and pulled.id != digest:
299300
raise ValueError(

0 commit comments

Comments
 (0)