Open Emilgardis opened 9 months ago
a reproducing environment should be simple
- name: Set up Docker builder
run: |
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
docker buildx create --use --name cross-builder
- name: Build and push image
run: |
cargo install cross --git https://github.com/cross-rs/cross
cross build --target x86_64-unknown-linux-gnu
after using a
dockerfile
andpre-build
Following error was experienced in GH CI
I think this is related to
https://docs.docker.com/engine/reference/commandline/buildx_build/#output
however, the build was using the docker-container driver. It might be that buildx doesn't correctly check images, will have to try to reproduce.
Originally posted by @0xfourzerofour in https://github.com/cross-rs/cross/issues/1358#issuecomment-1783368920