github action ssh img enter image description here
First of all, docker --version can be done normally when connected via ssh from a local PC.
When using ssh-action, docker is not found occurs.
and whoami command works normally in GitHub Actions.
The server I am using is using the latest version of Synology, which seems to be Ubuntu-based.
I'm curious what causes this problem.
Synology log is as follows.
User [*****] from [**.**.***.*] logged in successfully via [SSH].