用Bash右对齐字符串的一部分

I would like to right align the memory usage while keeping the services left aligned.
I'm using printf '%-1s %-25s %s\n' $ok $service $memory and the result is:

[OK] gitea                     142.2M
[OK] mariadb                   73.0M
[OK] nginx                     9.5M

我想要更多这样的东西:

[OK] gitea                     142.2M
[OK] mariadb                    73.0M
[OK] nginx                       9.5M