Closed holomekc closed 6 months ago
Thanks for report I will check today
the issue is explaining here It's probably the cache. Either I remove cache or I use matrix build to build every docker image on separate platform or I check again the cross-compile multi-platform docker guide according to this guide it seems I did not use the target platform and also miss GOOS and GOARCH
BUILDPLATFORM — matches the current machine. (e.g. linux/amd64)
BUILDARCH — e.g. amd64, arm64, riscv64
TARGETPLATFORM — The value set with --platform flag on build
TARGETOS - OS component from --platform, e.g. linux
TARGETARCH - Architecture from --platform, e.g. arm64
@holomekc please can you verify and let me know if it's working? I currently have no arm64 at hand just tested on emulated environment
docker run --rm karlderkaefer/cdk-notifier:2.12.4 --help
Hi @karlderkaefer,
thx for the quick fix. Yes it works fine now!
Hi,
it looks like that you build the binary once on a ubuntu machine and then push the docker image for both platforms. This results in the issue:
The release in GitHub itself looks fine though.