actions-runner-controller icon indicating copy to clipboard operation
actions-runner-controller copied to clipboard

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

Open RalphSleighK opened this issue 1 year ago • 8 comments

Checks

  • [X] I've already read https://github.com/actions/actions-runner-controller/blob/master/TROUBLESHOOTING.md and I'm sure my issue is not covered in the troubleshooting guide.
  • [X] I'm not using a custom entrypoint in my runner image

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

  • [X] This isn't a question or user support case (For Q&A and community support, go to Discussions. It might also be a good idea to contract with any of contributors and maintainers if your business is so critical and therefore you need priority support
  • [X] I've read releasenotes before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
  • [X] My actions-runner-controller version (v0.x.y) does support the feature
  • [X] I've already upgraded ARC (including the CRDs, see charts/actions-runner-controller/docs/UPGRADING.md for details) to the latest and it didn't fix the issue
  • [X] I've migrated to the workflow job webhook event (if you using webhook driven scaling)

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

RalphSleighK avatar Nov 28 '23 14:11 RalphSleighK

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

danielabbatt avatar Dec 01 '23 10:12 danielabbatt

This is affecting us as well. Any updates?

caio-eiq avatar Dec 04 '23 19:12 caio-eiq

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

neumann-nico avatar Dec 10 '23 01:12 neumann-nico

Any news on this ?

corentingiraud avatar Jan 25 '24 10:01 corentingiraud

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 👍

matan-legit avatar Feb 12 '24 14:02 matan-legit

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.

neumann-nico avatar Feb 12 '24 15:02 neumann-nico

@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

matan-legit avatar Feb 14 '24 05:02 matan-legit

Any update on this? Buildkit support would be very nice

ctriley avatar Mar 06 '24 18:03 ctriley