Skip to content

Unable to run postgres:12.17 in gh actions #1174

@indiVar0508

Description

@indiVar0508

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
image
I see that in local in docker the container restarts automatically but same is not happening for github service container.
image

        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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions