From 361a828714e66452189467b41e2212eb7e3709f6 Mon Sep 17 00:00:00 2001 From: Shiva Kumar Date: Mon, 20 Jul 2026 14:35:09 +0530 Subject: [PATCH 1/2] Fix[precompiled-arm]: Use oci: directory transport with --all flag instead of oci-archive Signed-off-by: Shiva Kumar (SW-CLOUD) --- .github/precompiled-matrix-config.json | 4 ++-- .github/workflows/precompiled.yaml | 7 +++++-- tests/scripts/findkernelversion.sh | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/precompiled-matrix-config.json b/.github/precompiled-matrix-config.json index 8d7223aa6..e99fe61dc 100644 --- a/.github/precompiled-matrix-config.json +++ b/.github/precompiled-matrix-config.json @@ -1,8 +1,8 @@ { "driver_branch": ["580", "595"], "kernel_flavors": ["aws", "azure", "azure-fde", "generic", "nvidia", "oracle"], - "dist": ["ubuntu22.04", "ubuntu24.04", "ubuntu26.04"], - "lts_kernel": ["5.15", "6.8", "7.0"], + "dist": ["ubuntu24.04"], + "lts_kernel": ["6.8"], "platforms": ["amd64", "arm64"], "exclude_build_matrix_pairs": [ { "dist": "ubuntu26.04", "driver_branch": "580" } diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index c8890c1c8..97785d16c 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -493,8 +493,11 @@ jobs: run: | image_path="./driver-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}.tar" echo "uploading $image_path" - if [[ "${{ github.ref == 'refs/heads/main' }}" == "true" ]]; then - skopeo copy --authfile "${REGISTRY_AUTH_FILE}" "oci-archive:${image_path}" docker://${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }} + if [[ "${{ github.ref == 'refs/heads/main' }}" == "true" ]] || [[ "${{ github.ref == 'refs/heads/skopeo-multiarch-issue' }}" == "true" ]]; then + mkdir -p /tmp/oci-image + tar -xf "${image_path}" -C /tmp/oci-image + skopeo copy --all --authfile "${REGISTRY_AUTH_FILE}" "oci:/tmp/oci-image" docker://${PRIVATE_REGISTRY}/nvidia/driver:"test"-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }} + rm -rf /tmp/oci-image else echo "Skipping image push for non-main branch ${{ github.ref }}" fi diff --git a/tests/scripts/findkernelversion.sh b/tests/scripts/findkernelversion.sh index d2f322c1c..36dd97257 100755 --- a/tests/scripts/findkernelversion.sh +++ b/tests/scripts/findkernelversion.sh @@ -42,3 +42,4 @@ if [[ $status_nvcr -eq 0 || $status_ghcr -eq 0 ]]; then else export should_continue=true fi +export should_continue=true From dc84491e004551ee94e07cffe336fde9ed5dba3e Mon Sep 17 00:00:00 2001 From: Shiva Kumar Date: Tue, 21 Jul 2026 11:38:24 +0530 Subject: [PATCH 2/2] Fix[precompiled-arm]: Use oci: directory transport with --all flag instead of oci-archive Signed-off-by: Shiva Kumar (SW-CLOUD) Fix[precompiled-arm]: Use oci: directory transport with --all flag instead of oci-archive Signed-off-by: Shiva Kumar (SW-CLOUD) --- .github/precompiled-matrix-config.json | 4 ++-- .github/workflows/precompiled.yaml | 4 ++-- tests/scripts/findkernelversion.sh | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/precompiled-matrix-config.json b/.github/precompiled-matrix-config.json index e99fe61dc..8d7223aa6 100644 --- a/.github/precompiled-matrix-config.json +++ b/.github/precompiled-matrix-config.json @@ -1,8 +1,8 @@ { "driver_branch": ["580", "595"], "kernel_flavors": ["aws", "azure", "azure-fde", "generic", "nvidia", "oracle"], - "dist": ["ubuntu24.04"], - "lts_kernel": ["6.8"], + "dist": ["ubuntu22.04", "ubuntu24.04", "ubuntu26.04"], + "lts_kernel": ["5.15", "6.8", "7.0"], "platforms": ["amd64", "arm64"], "exclude_build_matrix_pairs": [ { "dist": "ubuntu26.04", "driver_branch": "580" } diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 97785d16c..a9d4108f2 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -493,10 +493,10 @@ jobs: run: | image_path="./driver-images-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }}.tar" echo "uploading $image_path" - if [[ "${{ github.ref == 'refs/heads/main' }}" == "true" ]] || [[ "${{ github.ref == 'refs/heads/skopeo-multiarch-issue' }}" == "true" ]]; then + if [[ "${{ github.ref == 'refs/heads/main' }}" == "true" ]]; then mkdir -p /tmp/oci-image tar -xf "${image_path}" -C /tmp/oci-image - skopeo copy --all --authfile "${REGISTRY_AUTH_FILE}" "oci:/tmp/oci-image" docker://${PRIVATE_REGISTRY}/nvidia/driver:"test"-${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }} + skopeo copy --all --authfile "${REGISTRY_AUTH_FILE}" "oci:/tmp/oci-image" docker://${PRIVATE_REGISTRY}/nvidia/driver:${{ matrix.driver_branch }}-${{ env.KERNEL_VERSION }} rm -rf /tmp/oci-image else echo "Skipping image push for non-main branch ${{ github.ref }}" diff --git a/tests/scripts/findkernelversion.sh b/tests/scripts/findkernelversion.sh index 36dd97257..d2f322c1c 100755 --- a/tests/scripts/findkernelversion.sh +++ b/tests/scripts/findkernelversion.sh @@ -42,4 +42,3 @@ if [[ $status_nvcr -eq 0 || $status_ghcr -eq 0 ]]; then else export should_continue=true fi -export should_continue=true