gcore-github-actions/Deploy to Gcore Container as a Service
Use this action to deploy a container to Gcore Container as a Service.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-url | The Gcore API endpoint URL. Should be left as-is in most circumstances. | no | https://api.gcore.com/cloud |
| api-token | A permanent API token that will authenticate the GitHub action to Gcore API. | yes | — |
| project-id | The ID of the Gcore project in which the container should be deployed. | yes | — |
| region-id | The ID of the region in which the container should be deployed. | yes | — |
| name | The name of the container to deploy. | yes | — |
| image | The name of the container image to deploy (e.g. docker.io/nginx:latest). | yes | — |
| listening-port | The port on which the container will be listening for network connections. | no | 80 |
| description | A custom description of the container. | no | "" |
| envs | List of newline-separated key-value pairs to set as environment variables. | no | "" |
| flavor | The container flavor determining the amount of memory and cpu allocated to each container instance. | no | 80mCPU-128MB |
| timeout | The duration in seconds to wait before scaling down container instances. | no | 60 |
| scale-min | The minimum number of instances to run. When set to `0`, the container will scale down to zero running instances when it receives no traffic for the duration of `timeout` value. | no | 1 |
| scale-max | The maximum number of instances to run. The value must be greater than or equal to scale-min. | no | 1 |
| is-disabled | When set to `true`, the container is disabled and any running instances are shut down. | no | false |
| is-api-key-auth | When set to `true`, enables API key authentication for the container endpoint address. API keys can be created and assigned to the container in Gcore dashboard. | no | false |
| pull-secret | The name of the private registry credentials to use when fetching the container image. The credentials must already be configured in Gcore dashboard. | no | "" |
Outputs
| name | description |
|---|---|
| address | The endpoint address of your container. |
| status | The status of your container (e.g. Pending, Deploying, Ready, Error). |
| status-message | The last message associated with current container status. Can be useful for troubleshooting deployment issues. |