Skip to content

Commit

Permalink
Prune .dockerfile image (#132)
Browse files Browse the repository at this point in the history
STONEBLD-2522

Signed-off-by: Chenxiong Qi <[email protected]>
  • Loading branch information
tkdchen authored Jul 11, 2024
1 parent 8845d94 commit 948ce25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/registry_image_pruner/image_pruner/prune_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def manifest_exists(quay_token: str, namespace: str, name: str, manifest: str) -
def remove_tags(tags: List[Dict[str, Any]], quay_token: str, namespace: str, name: str, dry_run: bool = False) -> None:
image_digests = [image["manifest_digest"] for image in tags]
tags_map = {tag_info["name"]: tag_info for tag_info in tags}
tag_regex = re.compile(r"^sha256-([0-9a-f]+)(\.sbom|\.att|\.src|\.sig)$")
tag_regex = re.compile(r"^sha256-([0-9a-f]+)(\.sbom|\.att|\.src|\.sig|\.dockerfile)$")
manifests_checked = {}
for tag in tags:
# attestation or sbom image
Expand Down

0 comments on commit 948ce25

Please sign in to comment.