Skip to content

multi-arch build occurs even when only one platform is specified #104

@cjyetman

Description

@cjyetman

workflow.data.preparation explicitly specifies building only linux/amd64 here
https://github.com/RMI-PACTA/workflow.data.preparation/blob/6001fa51451c0312bf70d3387d1b17dd29236139/.github/workflows/docker.yml#L24-L27

yet the build still appears to create multi-arch builds, e.g. here (OS/Arch tab)
https://github.com/RMI-PACTA/workflow.data.preparation/pkgs/container/workflow.data.preparation/246792195?tag=pr-240

I believe this is why I get an error when running docker pull on a macOS/arm64 machine, because by default it looks for a matching arch image, but the option of having this "unknown" arch available seems to confuse things and it doesn't simply pull the linux/amd64 build since it's the only one available (which would be the preferable behavior).

cjrmi@Mac ~ % docker pull ghcr.io/rmi-pacta/workflow.data.preparation:pr-240
Error response from daemon: no match for platform in manifest: not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions