Skip to content

Publish an ARM64 docker image #505

@dgolombek

Description

@dgolombek

All of our runners are on ARM64 runners, since they are both cheaper and matches with what our production infrastructure runs on. But trying to use python-coverage-comment-action fails with:

  #7 [2/3] COPY coverage_comment ./coverage_comment
  #7 DONE 0.0s
  
  #8 [3/3] RUN md5sum -c pyproject.toml.md5 || pip install -e .
  #8 0.135 exec /bin/sh: exec format error
  #8 ERROR: process "/bin/sh -c md5sum -c pyproject.toml.md5 || pip install -e ." did not complete successfully: exit code: 255
  ------
   > [3/3] RUN md5sum -c pyproject.toml.md5 || pip install -e .:
  0.135 exec /bin/sh: exec format error
  ------
  Dockerfile:5
  --------------------
     3 |     
     4 |     COPY coverage_comment ./coverage_comment
     5 | >>> RUN md5sum -c pyproject.toml.md5 || pip install -e .
     6 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c md5sum -c pyproject.toml.md5 || pip install -e ." did not complete successfully: exit code: 255

When I switched this job to run on X86 it worked fine, which is ok since I'm combining the coverage files from 5 other jobs, but if I was trying to do it serially after running a specific job would be more annoying.

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