python-coverage-comment-action icon indicating copy to clipboard operation
python-coverage-comment-action copied to clipboard

Publish an ARM64 docker image

Open dgolombek opened this issue 9 months ago • 1 comments

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.

dgolombek avatar Feb 24 '25 17:02 dgolombek

Hey,

Do you think you might be interested in making a PR for this ? Otherwise, I'm not sure I'll be able to tackle this soon.

ewjoachim avatar Feb 28 '25 19:02 ewjoachim

Closed by #522 unless I'm mistaken

ewjoachim avatar May 05 '25 08:05 ewjoachim