From 19e972151f66ca02f23349f4c8f1aaf805ab7317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bombo?= Date: Fri, 8 Nov 2024 10:56:14 -0600 Subject: [PATCH] gha: Hardcode ubuntu-22.04 instead of latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GHA is migrating ubuntu-latest to Ubuntu 24 so let's hardcode the current 22.04 LTS. https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/ Signed-off-by: Aurélien Bombo --- .github/workflows/ci-weekly.yaml | 2 +- .github/workflows/gatekeeper-skipper.yaml | 2 +- .github/workflows/gatekeeper.yaml | 2 +- .github/workflows/run-kata-coco-stability-tests.yaml | 2 +- src/runtime/pkg/govmm/.github/workflows/main.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-weekly.yaml b/.github/workflows/ci-weekly.yaml index 5c89f2ed0..9cb4d7d4e 100644 --- a/.github/workflows/ci-weekly.yaml +++ b/.github/workflows/ci-weekly.yaml @@ -37,7 +37,7 @@ jobs: secrets: inherit build-and-publish-tee-confidential-unencrypted-image: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/gatekeeper-skipper.yaml b/.github/workflows/gatekeeper-skipper.yaml index b3e269575..188bc9be1 100644 --- a/.github/workflows/gatekeeper-skipper.yaml +++ b/.github/workflows/gatekeeper-skipper.yaml @@ -34,7 +34,7 @@ on: jobs: skipper: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: skip_build: ${{ steps.skipper.outputs.skip_build }} skip_test: ${{ steps.skipper.outputs.skip_test }} diff --git a/.github/workflows/gatekeeper.yaml b/.github/workflows/gatekeeper.yaml index 0cb7396d7..788395f69 100644 --- a/.github/workflows/gatekeeper.yaml +++ b/.github/workflows/gatekeeper.yaml @@ -18,7 +18,7 @@ concurrency: jobs: gatekeeper: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/run-kata-coco-stability-tests.yaml b/.github/workflows/run-kata-coco-stability-tests.yaml index 7a17508db..8ece58b99 100644 --- a/.github/workflows/run-kata-coco-stability-tests.yaml +++ b/.github/workflows/run-kata-coco-stability-tests.yaml @@ -34,7 +34,7 @@ jobs: - nydus pull-type: - guest-pull - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: DOCKER_REGISTRY: ${{ inputs.registry }} DOCKER_REPO: ${{ inputs.repo }} diff --git a/src/runtime/pkg/govmm/.github/workflows/main.yml b/src/runtime/pkg/govmm/.github/workflows/main.yml index 912d3d225..576514766 100644 --- a/src/runtime/pkg/govmm/.github/workflows/main.yml +++ b/src/runtime/pkg/govmm/.github/workflows/main.yml @@ -5,7 +5,7 @@ jobs: strategy: matrix: go-version: [1.15.x, 1.16.x] - os: [ubuntu-latest] + os: [ubuntu-22.04] runs-on: ${{ matrix.os }} steps: - name: Install Go