ci: switch to ubuntu-24.04 runner

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-06-11 14:32:54 +02:00
parent 59f52c9505
commit 24cedc6c0f
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4
6 changed files with 12 additions and 12 deletions

View File

@ -31,7 +31,7 @@ env:
jobs: jobs:
test-integration: test-integration:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
env: env:
TESTFLAGS_DOCKER: "-v --parallel=1 --timeout=30m" TESTFLAGS_DOCKER: "-v --parallel=1 --timeout=30m"
TEST_IMAGE_BUILD: "0" TEST_IMAGE_BUILD: "0"
@ -145,7 +145,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- ubuntu-22.04 - ubuntu-24.04
- macos-12 - macos-12
- windows-2022 - windows-2022
env: env:
@ -212,7 +212,7 @@ jobs:
path: ${{ env.TESTREPORTS_BASEDIR }} path: ${{ env.TESTREPORTS_BASEDIR }}
prepare-binaries: prepare-binaries:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
outputs: outputs:
matrix: ${{ steps.platforms.outputs.matrix }} matrix: ${{ steps.platforms.outputs.matrix }}
steps: steps:
@ -230,7 +230,7 @@ jobs:
echo ${{ steps.platforms.outputs.matrix }} echo ${{ steps.platforms.outputs.matrix }}
binaries: binaries:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
needs: needs:
- prepare-binaries - prepare-binaries
strategy: strategy:
@ -273,7 +273,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
bin-image: bin-image:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
needs: needs:
- test-integration - test-integration
- test-unit - test-unit
@ -326,7 +326,7 @@ jobs:
*.cache-to=type=gha,scope=bin-image,mode=max *.cache-to=type=gha,scope=bin-image,mode=max
release: release:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
needs: needs:
- test-integration - test-integration
- test-unit - test-unit

View File

@ -17,7 +17,7 @@ env:
jobs: jobs:
codeql: codeql:
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- -
name: Checkout name: Checkout

View File

@ -12,7 +12,7 @@ on:
jobs: jobs:
open-pr: open-pr:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
if: ${{ (github.event.release.prerelease != true || github.event.inputs.tag != '') && github.repository == 'docker/buildx' }} if: ${{ (github.event.release.prerelease != true || github.event.inputs.tag != '') && github.repository == 'docker/buildx' }}
steps: steps:
- -

View File

@ -22,7 +22,7 @@ on:
jobs: jobs:
docs-yaml: docs-yaml:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- -
name: Checkout name: Checkout

View File

@ -22,7 +22,7 @@ env:
jobs: jobs:
build: build:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -18,7 +18,7 @@ on:
jobs: jobs:
prepare: prepare:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
outputs: outputs:
includes: ${{ steps.matrix.outputs.includes }} includes: ${{ steps.matrix.outputs.includes }}
steps: steps:
@ -67,7 +67,7 @@ jobs:
}); });
validate: validate:
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
needs: needs:
- prepare - prepare
strategy: strategy: