fix(ci): switch to ubuntu-22.04 (#2836) (#2922)

This commit is contained in:
madomado
2025-01-12 21:48:47 +08:00
committed by GitHub
parent b79fb62f8f
commit 6f15dfa7f5
11 changed files with 179 additions and 12 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ jobs:
pkgs: ${{ steps.parsing.outputs.pkgs }}
builder: ${{ inputs.custom_builder }}
arch: ${{ steps.parsing.outputs.arch }}
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
steps:
- name: Parse Input
id: parsing
@@ -47,7 +47,7 @@ jobs:
version: ["41"]
arch: ${{ fromJson(needs.parse.outputs.arch) }}
fail-fast: false
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-latest' }}
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }}
container:
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
options: --cap-add=SYS_ADMIN --privileged