This message was deleted.
# aws
s
This message was deleted.
p
Where are you stalled out, @fresh-spring-82225?
Copy code
const createImage = (repositoryUrl: pulumi.Output<any>) => {
  const recorderImage = new awsx.ecr.Image('recorder', {
    repositoryUrl,
    extraOptions: ['--platform', 'linux/amd64'],
    path: SERVICE_PATH,
  });
  return recorderImage.imageUri;
};
That’s the pulumi command I’m using right now to build an image; dunno if it helps at all.
f
@polite-umbrella-11196 that looks like you’re building amd64, aka x86_64? I was trying to build an *arm*64 image but the image fails to build on github actions with the message
The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
.
p
yes, I know
That’s how you specify arm64, though
Copy code
extraOptions: ['--platform', 'linux/arm64'],