We are building an image using the commit ID as tag.
Since upgrading from aws-ecr@8.2.1 to 9.10, when re-running a second time, the pipeline fails with e.g.
d7edb81: Pulling from vector/vector
no matching manifest for linux/amd64 in the manifest list entries
Orb version
9.1.0
What happened
We are building an image using the commit ID as tag. Since upgrading from
aws-ecr@8.2.1
to9.10
, when re-running a second time, the pipeline fails with e.g.Our CircleCI configuration is below:
The issue is that the
platform
is not provided when the image is found and attempted to pull: https://github.com/CircleCI-Public/aws-ecr-orb/blob/70f2cff671ca7b51b20d26d32bf259e20d197bc5/src/scripts/docker_buildx.sh#L47Expected behavior
The pull of an existing image works, e.g. by specifying the
--platform
.