bazel-contrib / rules_oci

Bazel rules for building OCI containers
Apache License 2.0
305 stars 159 forks source link

Fix macOS CI after #724 #730

Closed hanneskaeufler closed 2 weeks ago

hanneskaeufler commented 3 weeks ago

https://github.com/bazel-contrib/rules_oci/actions/runs/11564798863/job/32190695142

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

In #724 it looks like I broke macos CI because that particular step is not run as part of the PR builds. I introduced a genrule which requires access to the docker daemon, while previously it was only used in test rules.

Adding the env var to the docker host to the action graph should maybe fix this?

hanneskaeufler commented 2 weeks ago

@thesayyn Check this out for fixing CI :)