Skip to content

Commit 6d05138

Browse files
committed
Added some images to the exclusion list:
- vector - omid - trino-cli Re-enabled older releases.
1 parent 080f4c1 commit 6d05138

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

stack_scanner/main.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
import subprocess
77

88
releases = [
9-
# '23.4.0',
10-
# '23.4.1',
11-
# '23.7.0',
9+
'23.4.0',
10+
'23.4.1',
11+
'23.7.0',
1212
'23.11.0',
1313
'0.0.0-dev'
1414
]
@@ -17,12 +17,14 @@
1717
'hello-world',
1818
'java-base',
1919
'testing-tools',
20-
'stackable-base'
20+
'stackable-base',
21+
'trino-cli',
22+
'vector',
23+
'omid'
2124
]
2225

2326
REGISTRY_URL = "docker.stackable.tech"
2427

25-
2628
def main():
2729
result = []
2830
with tempfile.TemporaryDirectory() as tempdir:
@@ -61,7 +63,6 @@ def main():
6163
image_name = f"{REGISTRY_URL}/stackable/{product_name}:{product_version}-stackable{release}"
6264
#print(f"Scanning {REGISTRY_URL}/stackable/{product_name}:{product_version}-stackable{release}")
6365
print(f"grype -o cyclonedx --file {release}-{product_name}-{product_version}.cdx {image_name}")
64-
#subprocess.run(["grype", "-o", "json", "--file", f"release-{product_name}-{product_version}.cdx", f"{image_name}"])
6566
tmp = {
6667
"product": product_name,
6768
"version": product_version,
@@ -74,6 +75,4 @@ def main():
7475
json_list = json.dumps(result)
7576
print(f'::set-output name=matrix::{json.dumps(result)}')
7677

77-
78-
7978
if __name__ == "__main__": main()

0 commit comments

Comments
 (0)