max-rocket-internet / k8s-event-logger

Watches k8s cluster events and logs them to stdout in JSON
GNU General Public License v3.0
211 stars 28 forks source link

`latest` tag only contains arm64 build #12

Closed clementnuss closed 1 year ago

clementnuss commented 2 years ago

Hi,

well done for the multi-build images 👏🏻 there's one small issue though:

image

the latest tag only contains the arm64 arch variant, not the amd64.

is that intended ? or can this be corrected ?

max-rocket-internet commented 2 years ago

I see 🤔

I'm new to this multiarch thing and didn't realise I can't use docker image tag/push for the arm64 images on my mac. In fact, the image ID I get doesn't even match what is on docker hub:

 docker images
REPOSITORY                                               TAG                    IMAGE ID       CREATED         SIZE
maxrocketinternet/k8s-event-logger                       1.7                    94941bab0ce7   4 days ago      45.3MB
maxrocketinternet/k8s-event-logger                       latest                 94941bab0ce7   4 days ago      45.3MB

But I believe I've fixed it now, @clementnuss

clementnuss commented 1 year ago

seems to be fixed yes!

image

strange.. for what it's worth I've been building my Go projects with Google's ko, made my life simpler :) also might be worth setting up some Github Actions to automatically build/test/deploy on new commits. my project is here if you want to have a look: https://github.com/postfinance/kubelet-csr-approver