Closed ysohma closed 3 months ago
Thanks!
It was necessary to address the situation where only lowercase account names were supported.
https://github.com/PINTO0309/onnx2tf/actions/runs/9176998898
#11 [6/8] WORKDIR /workdir
#11 DONE 0.0s
#12 [7/8] RUN sudo chown user:user /workdir
#12 DONE 0.1s
#13 [8/8] RUN echo 'export CUDA_VISIBLE_DEVICES=-1' >> ${HOME}/.bashrc && echo 'export TF_CPP_MIN_LOG_LEVEL=3' >> ${HOME}/.bashrc
#13 DONE 0.1s
#14 exporting to image
#14 exporting layers
#14 exporting layers 55.9s done
#14 exporting manifest sha256:94ac9a8bce3b87d4aa19b7382044cf2167b179e0d61738374b0cc6d73d0eb454 done
#14 exporting config sha256:5a64b358b7d7f9e85bb8e8a8b4aed5bda9987e59e58cd7124b7d1c0b2a0bb6db done
#14 ERROR: failed to parse ref "ghcr.io/PINTO0309/onnx2tf": invalid reference format: repository name (PINTO0309/onnx2tf) must be lowercase
------
> exporting to image:
------
ERROR: failed to solve: failed to parse ref "ghcr.io/PINTO0309/onnx2tf": invalid reference format: repository name (PINTO0309/onnx2tf) must be lowercase
Error: buildx failed with: ERROR: failed to solve: failed to parse ref "ghcr.io/PINTO0309/onnx2tf": invalid reference format: repository name (PINTO0309/onnx2tf) must be lowercase
1. Content and background
In #636, building and pushing arm64 image are added in release workflow. However, amd64 image not is available in the registory. This PR fix this issue.
2. Summary of corrections
Tested in my fork. I can find both linux/amd64 and linux/arm64 are available for a tag.
Test workflow: https://github.com/ysohma/onnx2tf/actions/runs/9173738033
Note
Building arm64 image takes so long (almost 1 hour) because of arm64 emulation on x86.
3. Before/After (If there is an operating log that can be used as a reference)
4. Issue number (only if there is a related issue)