Skip to content

allow specific precompiled images to be rebuilt#636

Open
rahulait wants to merge 1 commit intoNVIDIA:mainfrom
rahulait:rebuild-precompiled-image
Open

allow specific precompiled images to be rebuilt#636
rahulait wants to merge 1 commit intoNVIDIA:mainfrom
rahulait:rebuild-precompiled-image

Conversation

@rahulait
Copy link
Contributor

@rahulait rahulait commented Mar 4, 2026

This PR adds the following capability:

Manual workflow inputs for targeted builds — each matrix dimension (driver branch, kernel flavor, dist, LTS kernel) can be filtered to a single value via workflow_dispatch inputs, instead of always building the full matrix.

Force rebuild flag — a new force_rebuild input that bypasses the ghcr.io tag-existence check (nvcr.io is still treated as authoritative). This will enable us to build and push updated images to ghcr.io which then can be published to nvcr.io

@shivakunv
Copy link
Contributor

To override image in staging , we need to change:

precompiled.sh :- 

function imageExists(){
	regctl manifest get $1 --list > /dev/null && return 0 || return 1
} 

We should add an md5sum check between the staging and ghcr repo to verify whether the image is same or not .

Signed-off-by: Rahul Sharma <rahulsharm@nvidia.com>
@rahulait rahulait force-pushed the rebuild-precompiled-image branch from dc1ee9b to 65f583c Compare March 6, 2026 05:30
@rahulait
Copy link
Contributor Author

rahulait commented Mar 6, 2026

To override image in staging , we need to change:

precompiled.sh :- 

function imageExists(){
	regctl manifest get $1 --list > /dev/null && return 0 || return 1
} 

We should add an md5sum check between the staging and ghcr repo to verify whether the image is same or not .

Fixed this in change https://github.com/NVIDIA/gpu-driver-container/compare/dc1ee9b75cb65c00cb3a4c8a9bf15779e11e53e4..65f583ce429aa61f709a5194346e18009afda582

Copy link
Contributor

@shivakunv shivakunv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants