GitHub Action
Wait for Healthy Container
v1.0.1
Latest version
A simple action to wait for a Docker container untill the health check returns healthy
or the timeout is exceeded.
- name: 'Wait until the container is healthy'
uses: raschmitt/wait-for-healthy-container/@master
with:
container-name: name
timeout: 120
Input | Description | Default | Required |
---|---|---|---|
container-name | Name of the container to be waited | true |
|
timeout | Limit of seconds to wait for the container to enter a "healthy" state | 120 | false |
There are no output options for this action.
The docker container must have a healthcheck configured for this action to work.