Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiorky committed Sep 19, 2024
1 parent 552e538 commit 55af1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ get_image_tags() {
# cleanup elastic minor images (keep latest)
atags="$(filter_tags "$(cat $t.raw)")"
changed=
if ( echo $t | grep -E -q "$ONLY_ONE_MINOR" );then
if [[ "x${ONLY_ONE_MINOR}" != "x" ]] && ( echo $n | grep -E -q "$ONLY_ONE_MINOR" );then
oomt=""
for ix in $(seq 0 30);do
if ! ( echo "$atags" | grep -E -q "^$ix\." );then continue;fi
Expand Down

0 comments on commit 55af1a2

Please sign in to comment.