concourse / registry-image-resource

a resource for images in a Docker registry
Apache License 2.0
89 stars 107 forks source link

Specify different architectures #313

Closed natto1784 closed 1 year ago

natto1784 commented 2 years ago

I can't find any option to specify what arch to use. I'm running concourse on an aarch64-linux machine and can only run ARM64 images.

rfpludwick commented 1 year ago

+1 to this. Some registries have multiple archs available on a specific tag, but there's no way to tell which arch to pull, which means Concourse always pulls amd64.

natto1784 commented 1 year ago

bump, also it should use the host architecture if left unspecified, i would look into go-containerregistry when i get time but im not a go developer. i just switched to woodpecker CI for now.

natto1784 commented 1 year ago

https://github.com/concourse/registry-image-resource/pull/36, thanks everyone who was involved