[rocm-libraries] ROCm/rocm-libraries#7894 (commit 5e66689)

[CK] add credentials to docker manifest inspect call

## Motivation

This should fix an issue that we recently encountered in CI when we
exceeded the limit of accessing docker without authentication:

[2026-05-29T16:08:42.447Z] + docker manifest inspect --insecure
rocm/composable_kernel:ck_ub24.04_rocm7.13
[2026-05-29T16:08:42.833Z] toomanyrequests: You have reached your
unauthenticated pull rate limit.
https://www.docker.com/increase-rate-limit

## Technical Details

<!-- Explain the changes along with any relevant GitHub links. -->

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->

## Test Result

<!-- Briefly summarize test outcomes. -->

## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
This commit is contained in:
Illia Silin
2026-05-29 19:18:57 +00:00
committed by assistant-librarian[bot]
parent 15c904b460
commit 0edfcf06e5

4
Jenkinsfile vendored
View File

@@ -470,7 +470,9 @@ def buildAndPushDockerImage(String install_prefix, String image_name, String doc
if(!forceBuild){
try{
echo "Checking for image: ${image_name}"
sh "docker manifest inspect --insecure ${image_name}"
withDockerRegistry([ credentialsId: "ck_docker_cred", url: "" ]) {
sh "docker manifest inspect --insecure ${image_name}"
}
echo "Image: ${image_name} found! Skipping building image"
return image_name
}