Closed
Description
Sometimes goreleaser is not able to build the multiarch image and if it fails for 1 platform, it fails the whole build with this cryptic issue:
https://github.com/k8gb-io/k8gb/runs/6816387426?check_suite_focus=true#step:4:55
release failed after 264.80serror=failed to build absaoss/k8gb:v0.9.0-c1f7cc7-amd64: exit status 1: Sending build context to Docker daemon 33.97MB
...
WARNING: Pulled image with specified platform (linux/amd64), but the resulting image's configured platform (linux/arm64) does not match.
...
failed to get destination image "sha256:367aa1e9d4caebc5c2700bb80d68a1e148a37a4b886a7b721b5a6fbccd1b7e5f": image with reference sha256:367aa1e9d4caebc5c2700bb80d68a1e148a37a4b886a7b721b5a6fbccd1b7e5f was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64
Restarting the build helps, second attempt went just fine
Metadata
Assignees
Labels
Type
Projects
Status
Done
Activity