Skip to content

Commit

Permalink
add more checks for runtime main datascience
Browse files Browse the repository at this point in the history
  • Loading branch information
rkpattnaik780 committed Jan 3, 2024
1 parent 8d5848c commit f84dbeb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions ci/security-scan/quay_security_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"odh-minimal-gpu-notebook-image-main",
"odh-pytorch-gpu-notebook-image-main",
"odh-generic-data-science-notebook-image-main",
"odh-tensorflow-gpu-notebook-image-main",
"odh-trustyai-notebook-image-main",
"odh-habana-notebook-image-main",
"odh-codeserver-notebook-main",
"odh-rstudio-notebook-main",
"odh-rstudio-gpu-notebook-main"
# "odh-tensorflow-gpu-notebook-image-main",
# "odh-trustyai-notebook-image-main",
# "odh-habana-notebook-image-main",
# "odh-codeserver-notebook-main",
# "odh-rstudio-notebook-main",
# "odh-rstudio-gpu-notebook-main"
]

IMAGES = [
Expand Down Expand Up @@ -79,6 +79,9 @@ def process_image(image, commit_id_path, RELEASE_VERSION_N, HASH_N):
digest_cmd = f'skopeo inspect docker://{registry}:{latest_tag} | jq .Digest | tr -d \'"\''
digest = subprocess.check_output(digest_cmd, shell=True, text=True).strip()

print("digest")
print(digest)

if digest is None or digest == "":
return

Expand Down

0 comments on commit f84dbeb

Please sign in to comment.