yannh / kubeconform

A FAST Kubernetes manifests validator, with support for Custom Resources!
Apache License 2.0
2.15k stars 121 forks source link

Fix for 196: Multi-architecture image #204

Closed denisa closed 1 year ago

denisa commented 1 year ago

Compare (on a m1 mac mini)

> docker run ghcr.io/yannh/kubeconform:v0.6.1 -v            
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
v0.6.1

with

> docker run ghcr.io/denisa/kubeconform:v0.6.3-dna.7 -v      
v0.6.3-dna.7

Note that I followed GoReleaser build multi arch Docker Images for the latest tag.

denisa commented 1 year ago

@yannh … any comments?

yannh commented 1 year ago

Haven' t forgotten :bow: I' ll take a look over the week end :+1:

denisa commented 1 year ago

Ping?

yannh commented 1 year ago

Let's give this a shot :+1: Linux/arm64 is the platform used for Macs M1/M2s though, really? :see_no_evil:

yannh commented 1 year ago

Released v0.6.2, give it a shot? I'm wondering if it makes sense to still have architecture-dependent tags if the images are multi-arch :thinking:
image