houseabsolute / actions-rust-cross

GitHub Action to compile Rust with cross
Apache License 2.0
112 stars 12 forks source link

feature request: DinD #21

Closed ilteoood closed 2 months ago

ilteoood commented 2 months ago

My application has some tests that relies on docker to work. When I run them on a platform that requires cross, Docker is not accessible. It would be amazing to have docker support by default, as described in the cross documentation

autarch commented 2 months ago

It's not clear to me from that link what exactly I would need to do in this action to enable this. The docs talk about installing cross inside a container to enable this. But all that this action does is download a cross binary and run that for you.

ilteoood commented 2 months ago

My bad. I thought it required additional info in order to mount the docker sock. At the end, I saw we can use the CROSS_CONTAINER_OPTS env variable to do that.