It was assuming containerd was ready right after starting. But it depends GitHub actions' performance. In addition to that, this commit extracts the script from ci.yml. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>