Skip to content

Commit

Permalink
fix(ci/artifacthub-images): this should catch all images containers w…
Browse files Browse the repository at this point in the history
…here `image: ` is on the same line as the array `-` would have not been matched (#1065)
  • Loading branch information
cwrau authored Aug 8, 2024
1 parent 98442eb commit c2b6ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/extract-artifacthub-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getImages() {
rm -f -- */HelmRelease/*.yaml
grep -Er '\s+image: \S+$' |
grep -v 'artifacthub-ignore' |
awk '{print $3 " # " $1}' |
awk '{print ($2 == "-" ? $4 : $3) " # " $1}' |
tr -d '"' |
sed 's#:$##' |
sort -k1 -k2 |
Expand Down

0 comments on commit c2b6ef1

Please sign in to comment.