jpbm135/Detect GitHub Actions Docker Network IP
Retrieves the IP address of a GitHub Actions Docker network, useful for connecting services when localhost is not sufficient.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| strict | If the action should fail if the IP address cannot be found | no | false |
| forward-ports | If the action should forward from the GitHub Actions Docker network to the host, ATTENTION: this will fail if the port is already in use | no | false |
| host | The host to forward the ports to | no | 127.0.0.1 |
Outputs
| name | description |
|---|---|
| github-network-ip | The IP address of the GitHub Actions Docker network |
| port-mappings | The port mapping from the GitHub Actions Docker network to the host, JSON format. Example: - host: port: 5432 host: '127.0.0.1' container: port: 80 host: '172.0.0.1' |