diff --git a/dhis-2/build-docker-image.sh b/dhis-2/build-docker-image.sh index 45d46c77348a..1c4940b9b623 100755 --- a/dhis-2/build-docker-image.sh +++ b/dhis-2/build-docker-image.sh @@ -60,7 +60,7 @@ function create_rolling_tags() { )" if [[ "$major" -gt "$latest_major_version" ]] || \ - [[ "$minor" -gt "$latest_minor_version" && "$major" -eq "$latest_major_version" ]] || \ + [[ "$minor" -gt "$latest_minor_version" ]] || \ [[ "$patch" -ge "$latest_patch_version" && "$minor" -eq "$latest_minor_version" ]]; then echo "New major, new minor or new/existing patch for the latest minor version, creating M.m and M tags." rolling_tags+=(