hi
i was trying to use postgres:12.17 in gh actions, but not able to start service in my job i get below shown error while starting action job service container

I see that in local in docker the container restarts automatically but same is not happening for github service container.

options: >-
--health-cmd "pg_isready -U $$POSTGRES_USER -h $$(hostname -i)"
--health-interval 60s
--health-timeout 30s
--health-retries 8
This is the Health command i am using.