Running sinker push automatically pulls the image version matching the local machine. This is fine as long as the local machine (or CI build server) runs on the same architecture as the servers running the workload.
But if I happen to run sinker push on my M1 Mac, I'll silently push a bunch of linux/arm64 images to the repo. This can result in the runtime environment pulling bad images, and workloads unable to start.
It would be good to be able to specify the expected platform when pulling and pushing with sinker:
sinker push --platform linux/amd64
Running
sinker pushautomatically pulls the image version matching the local machine. This is fine as long as the local machine (or CI build server) runs on the same architecture as the servers running the workload.But if I happen to run
sinker pushon my M1 Mac, I'll silently push a bunch oflinux/arm64images to the repo. This can result in the runtime environment pulling bad images, and workloads unable to start.It would be good to be able to specify the expected platform when pulling and pushing with sinker: