Github action : publish-images.yml needs ubuntu-24.04

For the second time I needed to switch to a new builder of github action

by default we use ubuntu 2004, the default builder of github action to build the module, however this is the second time I needed to switch to ubuntu 2404

We did a specific settings to do it

simply add to the publish-images.yml in .github/workflows folder of your project

    with:
      runner-version: ubuntu-24.04
name: "Publish images"

on:
  push:
    branches-ignore:
      - 'renovate/**'
    tags:
      - "**"

permissions:
  packages: write

jobs:
  publish-images:
    if: github.run_number > 1
    uses: NethServer/ns8-github-actions/.github/workflows/publish-branch.yml@v1
    with:
      runner-version: ubuntu-24.04

the evidences are that you cannot uncompress a tar due to permission errors, do not ask me why :stuck_out_tongue:

tar: phpMyAdmin-5.2.1-all-languages/vendor/web-auth/webauthn-lib/src/TrustPath: Cannot change mode to rwxr-xr-x: Operation not permitted

[8309](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8310)tar: phpMyAdmin-5.2.1-all-languages/vendor/web-auth/webauthn-lib/src/Util: Cannot change mode to rwxr-xr-x: Operation not permitted

[8310](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8311)tar: phpMyAdmin-5.2.1-all-languages/vendor/web-auth/webauthn-lib/src: Cannot change mode to rwxr-xr-x: Operation not permitted

[8311](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8312)tar: phpMyAdmin-5.2.1-all-languages/vendor/web-auth/webauthn-lib: Cannot change mode to rwxr-xr-x: Operation not permitted

[8312](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8313)tar: phpMyAdmin-5.2.1-all-languages/vendor/web-auth: Cannot change mode to rwxr-xr-x: Operation not permitted

[8313](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8314)tar: phpMyAdmin-5.2.1-all-languages/vendor/webmozart/assert/src: Cannot change mode to rwxr-xr-x: Operation not permitted

[8314](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8315)tar: phpMyAdmin-5.2.1-all-languages/vendor/webmozart/assert: Cannot change mode to rwxr-xr-x: Operation not permitted

[8315](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8316)tar: phpMyAdmin-5.2.1-all-languages/vendor/webmozart: Cannot change mode to rwxr-xr-x: Operation not permitted

[8316](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8317)tar: phpMyAdmin-5.2.1-all-languages/vendor/williamdes/mariadb-mysql-kbs/dist: Cannot change mode to rwxr-xr-x: Operation not permitted

[8317](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8318)tar: phpMyAdmin-5.2.1-all-languages/vendor/williamdes/mariadb-mysql-kbs/src: Cannot change mode to rwxr-xr-x: Operation not permitted

[8318](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8319)tar: phpMyAdmin-5.2.1-all-languages/vendor/williamdes/mariadb-mysql-kbs: Cannot change mode to rwxr-xr-x: Operation not permitted

[8319](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8320)tar: phpMyAdmin-5.2.1-all-languages/vendor/williamdes: Cannot change mode to rwxr-xr-x: Operation not permitted

[8320](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8321)tar: phpMyAdmin-5.2.1-all-languages/vendor: Cannot change mode to rwxr-xr-x: Operation not permitted

[8321](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8322)tar: phpMyAdmin-5.2.1-all-languages: Cannot change mode to rwxr-xr-x: Operation not permitted

[8322](https://github.com/stephdl/ns8-lamp/actions/runs/10508075040/job/29111434805#step:4:8323)tar: Exiting with failure status due to previous errors
1 Like

Interesting