joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
316 stars 87 forks source link

Add arm binaries #99

Closed joe-elliott closed 2 years ago

joe-elliott commented 2 years ago

Added GOARCH arm and arm64.

@infa-kparida can you confirm these are the GOARCH's you'd like?

Fixes #98

infa-kparida commented 2 years ago

Yes

joe-elliott commented 2 years ago

arm64 builds were failing with:

Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20201214210602-f9fddec55a1e/windows/types_windows.go:1597:24: undefined: JOBOBJECT_BASIC_LIMIT_INFORMATION
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20201214210602-f9fddec55a1e/windows/zsyscall_windows.go:2989:38: undefined: WSAData
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20201214210602-f9fddec55a1e/windows/zsyscall_windows.go:3065:51: undefined: Servent
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20201214210602-f9fddec55a1e/windows/zsyscall_windows.go:3079:50: undefined: Servent
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.0.0-20201214210602-f9fddec55a1e/windows/zsyscall_windows.go:3081:8: undefined: Servent

they were removed in favor of simply using arm builds