cloudsmith-io / action

Github Action that uses the cloudsmith cli to interact with the Cloudsmith API (pushes, etc)
https://github.com/marketplace/actions/cloudsmith-push
MIT License
14 stars 12 forks source link

Platform seems to be defaulting to linux/arm64/v8 now #37

Closed jszwedko closed 1 year ago

jszwedko commented 1 year ago

Hey all,

We noticed that our cloudsmith publishing actions started failing last night with:

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
exec /entrypoint.sh: exec format error

This seems likely to be due to https://github.com/cloudsmith-io/action/pull/36. I'm not seeing how to resolve it though? I'm unsure if this is a Github Actions issue or an issue specific to this action.

This caused us to realize we were pinning to master so we'll fix that too, but seemingly this'll block us from upgrading to v0.5.3.

paddycarey commented 1 year ago

Hey @jszwedko, this is most likely due to an error in the initial copy of the python:3.8-slim image into Cloudsmith.

As far as I'm aware the arm64 image was live for a couple hours before being properly replaced with a multi-arch image.

Is the error still happening for you presently?

paddycarey commented 1 year ago

To be more specific, the single arch/wrong image was published around 13:25 UTC, and the multi-arch/fixed image around 14:30 UTC, so it was live for around an hour.

jszwedko commented 1 year ago

Aha, gotcha, thanks for the info @paddycarey . I'll check if the issue is still present.

jszwedko commented 1 year ago

Looks like this issue was resolved, thanks @paddycarey! We are running into a new issue, but it seems to be different so I'll contact through support.