You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to copy an arm64 image from one source to another and get an error:
sending status failed: copy image failed: choosing an image from manifest list docker://xxx.dkr.ecr.us-east-1.amazonaws.com/repo:latest: no image found in image index for architecture amd64, variant "", OS linux
I've attempted to set the GOARCH environment variable but that doesn't seem to help.
I am attempting to copy an
arm64
image from one source to another and get an error:I've attempted to set the GOARCH environment variable but that doesn't seem to help.
Nothing in the copy pkg docs stand out: https://pkg.go.dev/github.com/containers/image/v5/copy
Any suggestions? Do we need to build the customer resource with an arm64 architecture?
Edit:
Seems this is what we need - https://pkg.go.dev/github.com/containers/image/[email protected]/types#SystemContext
We can set this based on the env var set in the lambda
GOARCH
https://github.com/cdklabs/cdk-ecr-deployment/blob/main/lambda/main.go#L106
The text was updated successfully, but these errors were encountered: