Skip to content

Commit

Permalink
fix: only pick up image names when as value in image key
Browse files Browse the repository at this point in the history
  • Loading branch information
arifer612 committed Feb 13, 2025
1 parent 9a62be9 commit 7404820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose-updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ if $(! grep -q $IMAGE_NAME $COMPOSE_FILENAME); then
fi

IMAGE_VERSIONS="$(
grep $IMAGE_NAME $COMPOSE_FILENAME | \
grep "image:.*${IMAGE_NAME}" $COMPOSE_FILENAME | \
cut -d ':' -f 2- | \
tr -d '[:blank:]' | \
uniq
Expand Down

0 comments on commit 7404820

Please sign in to comment.