Skip to content

Commit

Permalink
ci: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilgajera-crest committed Aug 9, 2024
1 parent e4e5c40 commit 28e9f5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion splunk_matrix_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ def filter_image_list(images_list):

def get_build_number_1(token, latest_image_digest):
_, image_lists = get_images_list(token)
# images_list = [d["name"] for d in image_lists]
# images_list = filter_image_list(images_list)
match_and_return_name = next(
(
d["name"]
for d in image_lists
for image in d.get("images", [])
if image["digest"] == latest_image_digest
if image["digest"] == latest_image_digest and re.match(r"'[0-9a-z]{12}'", d["name"])
),
None,
)
Expand Down

0 comments on commit 28e9f5c

Please sign in to comment.