docker_images icon indicating copy to clipboard operation
docker_images copied to clipboard

Update ubuntu-latest to 24.04

Open rafl opened this issue 1 year ago • 5 comments

To match the github runner images.

The current situation, where ubuntu-latest refers to ubuntu-22.04, is a little confusing and can make debugging certain CI problems much harder.

rafl avatar Apr 23 '25 17:04 rafl

There is a catthehacker/ubuntu:act-24.04 tag on docker. Edit: you are right act-latest is pointing to act-22.04.

colin-i avatar Jun 16 '25 05:06 colin-i

Quickie for anyone else just trying this out:

❯ gh act push -P ubuntu-latest=catthehacker/ubuntu:act-24.04

colinmollenhour avatar Jun 21 '25 21:06 colinmollenhour

if you're using the Github Local Actions extension for vscode, go to Extensions -> Github Local Actions -> Settings and set Act Command to act -P ubuntu-latest=catthehacker/ubuntu:act-24.04 (assuming you're using nektos/act)

amylizzle avatar Oct 16 '25 23:10 amylizzle

Will be sort of resolved for act after https://github.com/nektos/act/pull/5951

There is still some work going on, but you can already try it out:

# Will need go toolchain installed.
git clone --branch chore/update-images-24.04 https://github.com/keks/act.git
make build
# See resulting binary in `dist/local/act`

Note that previous act settings are hardcoded in ~/.config/act/actrc and therefore it may not switch for latest to 24.04 automatically. In that case, you can reset the config - either by removing it completely or by removing lines that start with -P (sed -i '/^-P/d' ~/.config/act/actrc).

Andrej730 avatar Oct 26 '25 14:10 Andrej730

Resolved after https://github.com/catthehacker/docker_images/commit/be3464d0755cb4a0e31b80dc0195ce8ddebf345a

Image

Andrej730 avatar Nov 02 '25 19:11 Andrej730