We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8964ce1 commit 44e4092Copy full SHA for 44e4092
tools/scan-images.sh
@@ -21,7 +21,14 @@ rm -rf image-scan-output
21
mkdir -p image-scan-output
22
23
# Get built container images
24
-docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:$2*" > $1-scanned-container-images.txt
+output_file="$1-scanned-container-images.txt"
25
+
26
+docker image ls \
27
+ --filter "reference=ark.stackhpc.com/stackhpc-dev/*:$2*" \
28
+ --format "{{.Repository}}:{{.Tag}}" \
29
+ > "$output_file"
30
31
+cat "$output_file"
32
33
# Make a file of imagename:tag
34
images=$(grep --invert-match --no-filename ^REPOSITORY $1-scanned-container-images.txt | sed 's/ \+/:/g' | cut -f 1,2 -d:)
0 commit comments