actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.71k stars 1.11k forks source link

Latest (v2.311.0-ubuntu-20.04-8e48463) Summerwind runner image is missing docker buildx #3109

Open RalphSleighK opened 11 months ago

RalphSleighK commented 11 months ago

Checks

Controller Version

27.5

Helm Chart Version

actions-runner-controller-0.23.5

CertManager Version

v1.13.1

Deployment Method

Helm

cert-manager installation

Cert manager is fine

Checks

Resource Definitions

..

To Reproduce

- name: Build Docker Image
  shell: bash
  env:
      DOCKER_BUILDKIT: "1"
  run: |
    docker build .

Describe the bug

This fails with:

ERROR: BuildKit is enabled but the buildx component is missing or broken.

Looks like there was a PR yesterday that upped the docker version and now we need the same fix as went into the Github runner image here:

https://github.com/actions/runner/pull/2901

Rolling back to ummerwind/actions-runner:v2.311.0-ubuntu-20.04-fb11d3b fixes the issue.

Describe the expected behavior

The docker build works.

Whole Controller Logs

n/a

Whole Runner Pod Logs

n/a

Additional Context

n/a

danielabbatt commented 11 months ago

Affects me too, could roll back but if it's going to be fixed quickly I'll probably not bother...

caio-eiq commented 11 months ago

This is affecting us as well. Any updates?

neumann-nico commented 11 months ago

I created a PR which hopefully fixes the issue: #3141

corentingiraud commented 9 months ago

Any news on this ?

matan-legit commented 8 months ago

can anyone tell how do i use those images? do i need to build them on my own and store them in my registry or are they in ghcr as well? i only see the one actions-runner image. also this change would be very welcome 👍

neumann-nico commented 8 months ago

I fixed the issues in my PR, so this should hopefully be merged soon :)

Currently the only way would be to check out my branch and build the images by yourself and push it to your private registry.

matan-legit commented 8 months ago

@neumann-nico how do i implement them into the helm chart? im getting init errors when i use them :( not your specific change the image in general

ctriley commented 8 months ago

Any update on this? Buildkit support would be very nice