I'm attempting to use dagger on macos to build a image From a private ecr image. I can retrieve/pass in an ECR token that is valid for the repository (pulling from the host works fine). Dagger seems to be able to get the image configuration just fine, but is getting a 401 Unauthorized when attempting to pull the indiviual blobs.
50: sha256:7dc2c32e8b1175fd5fdf1397e43a37fd50d64275d9c714e4289e3cbf59c81294 0B / 45.52KiB
50: sha256:7608715873ec5c02d370e963aa9b19a149023ce218887221d93fe671b3abbf58 0B / 27.25MiB
50: sha256:1ea5a1d10607631ee82046c1f804fb5269e1a9cb18a318e28b96d1c2f68c1729 0B / 3.646MiB
50: sha256:cdb356d3586ce72236919b4962920eddf3955410f4f6ef6706d3181d90940c36 0B / 2.768MiB
50: sha256:351a3971d2f01c33e1b7c9f55471705dcccf0c16a2a87f0a7cf5ec69150e8ed7 0B / 4.489KiB
50: sha256:8bdde3405477d6d93b4071b74a03ff1c5872622a5292fe3377fc0dc6e1c1b492 0B / 7.215MiB
50: sha256:eeec445c3e5a1c598a4ca3339c3f540f2dc5aba17f669a80eabf2eccc5f0bfae 0B / 160.4MiB
50: pull my-account.dkr.ecr.us-east-1.amazonaws.com/my-image:tag DONE
2023/11/27 20:23:07 ERROR Failed to run dagger build !BADKEY="input:1: container.withRegistryAuth.from.export failed to export: failed to copy: httpReadSeeker: failed open: unexpected status code https://my-account.dkr.ecr.us-east-1.amazonaws.com/v2/my-image/blobs/sha256:7dc2c32e8b1175fd5fdf1397e43a37fd50d64275d9c714e4289e3cbf59c81294: 401 Unauthorized\n"
Thanks in advance for any help!