Skip to content

Commit b8a52bb

Browse files
fix: sort images in get-all-images script
1 parent 4934774 commit b8a52bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/get-all-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ CHARTDIR="${MYDIR}/../charts/cf-runtime"
33
VALUESFILE="${MYDIR}/../charts/cf-runtime/.ci/values-ci.yaml"
44
OUTPUTFILE=$1
55
helm dependency update $CHARTDIR
6-
helm template --values $VALUESFILE --set global.runtimeName="dummy" $CHARTDIR | grep -E 'image: | dindImage:' | awk -F ': ' '{print $2}' | tr -d '"' | tr -d "'" | uniq > $OUTPUTFILE
6+
helm template --values $VALUESFILE --set global.runtimeName="dummy" $CHARTDIR | grep -E 'image: | dindImage:' | awk -F ': ' '{print $2}' | tr -d '"' | tr -d "'" | sort | uniq > $OUTPUTFILE
77

88
cat $OUTPUTFILE | tr '@' '\n' | awk 'NR % 2 == 1' | tee $OUTPUTFILE

0 commit comments

Comments
 (0)