variant-inc/Actions Go
Github Action to perform build, test , scan and generate Image for Go ## Permissions Add the following permissions to the job ```yaml permissions: id-token: write contents: read ``` ## Usage ```yaml - name: Actions Go uses: variant-inc/actions-go@v1 with: ecr_repository: 'demo/example' go-version: '1.22.2' ``` ## Locating Container Images ECR containers can be located with this URI. ```text 064859874041.dkr.ecr.us-east-2.amazonaws.com/<ecr_repository> ```
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dockerfile_dir_path | Directory Path to the dockerfile. | no | . |
| ecr_repository | ECR Repository Name. If this is empty, then container image will not be created. | no | "" |
| cloud_region | Region where the image will be created. | no | us-east-2 |
| go-version | The go-version input is optional. If not supplied, the action will try to download latest go version Due to the peculiarities of YAML parsing, it is recommended to wrap the version in single quotation marks: | no | — |
Outputs
no outputs