Fix kernel build version

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2023-12-04 10:26:04 +01:00
parent 0f9e981e12
commit 99ca4b2461
3 changed files with 16 additions and 16 deletions

View File

@@ -60,7 +60,7 @@ jobs:
uses: mikefarah/yq@v4.40.4
id: kernel_version
with:
cmd: yq -r '.version' packages/kernels/upstream/definition.yaml
cmd: yq -r '.labels| with_entries(select(.key == "package.version"))|.[]' packages/kernels/upstream/definition.yaml
# this builds the kernel cross-compiled for arm64 so its faster
# notice that wee are not using builx nor platform so it runs under amd64
# This is much faster than building the kernel on arm64 via buildx and --platform

View File

@@ -26,7 +26,7 @@ jobs:
uses: mikefarah/yq@v4.40.4
id: kernel_version
with:
cmd: yq -r '.version' packages/kernels/upstream/definition.yaml
cmd: yq -r '.labels| with_entries(select(.key == "package.version"))|.[]' packages/kernels/upstream/definition.yaml
# this builds the kernel cross-compiled for arm64 so its faster
# notice that wee are not using builx nor platform so it runs under amd64
# This is much faster than building the kernel on arm64 via buildx and --platform