santoshkowshikhr/Go-build-deploy
Action to build the go executable.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| executable_name | The executable name to be built, if not specified defaults to repo name. | no | {{ GITHUB_REPOSITORY }} |
| goos | The target OS of which the executable has to be built for. | no | linux |
| goarch | The target OS of which the executable has to be built for. | no | amd64 |
| aws_access_key_id | The aws credentails for the AWS account to push build to S3. | yes | — |
| aws_secret_access_key | The aws credentails for the AWS account to push build to S3. | yes | — |
| s3_bucket | The S3 bucket to copy the executable. | no | — |
| release_version | The release version of the code being deployed. | no | v0.0.0 |
| aws_region | The aws region for the account. | no | us-east-1 |
| ec2_user | User name to connect to ec2 | no | — |
| ec2_ip | IP Address to connect to ec2 | no | — |
| ec2_pass | EC2 User password to connect to ec2 | no | — |
| ec2_path | EC2 path to deploy the file to. | no | — |
| push_to_s3 | Parameter to push to s3 | yes | false |
| push_to_ec2 | Parameter to push to ec2 | yes | false |
Outputs
| name | description |
|---|---|
| s3_build_url | Response of the go build command. |