docker / setup-buildx-action

GitHub Action to set up Docker Buildx
https://github.com/marketplace/actions/docker-setup-buildx
Apache License 2.0
984 stars 156 forks source link

DNS Resolution stopped working #378

Closed what5150 closed 3 days ago

what5150 commented 3 days ago

Starting 2024-11-08, my build-push-action@v6 steps started failing with exit status 128 and a fatal error "Could not resolve host: yyy.xxxx.com". The only way I could get DNS working again in the build and push step was to add "driver-opts: network=host" to the setup-buildx-action@v3 steps. There haven't been any infrastructure changes, no changes to the runner or its host, the workflow hasn't been edited in months. The runner is on docker, so I spun up another runner on bare metal just to test and had the same issue. Not sure what would cause this.

ndguarino commented 3 days ago

Just verifying this is also happening on Github-hosted runners, not just self-hosted. Able to reproduce with standard runner size, ubuntu-latest image. Workaround above works.

This is likely an upstream issue in actions/runner.

crazy-max commented 3 days ago

@what5150 @ndguarino Can you create a bug report please to help us figure out what's going on?

what5150 commented 3 days ago

@crazy-max Will do.

crazy-max commented 3 days ago

@what5150 Thanks! If you can just post a link of your repo where this issue occurs that would be great as well!

what5150 commented 3 days ago

@crazy-max I can't link the repo; org policy, but I did add workflow and build log.

crazy-max commented 3 days ago

Let's tracked this in #379