GitHub action for building Go based lambdas
- uses: sevco/[email protected]
with:
files: "main.go other/helper.go"
credentials: ${{ secrets.GIT_CREDENTIALS }}
| Variable | Description | Required | Default |
|---|---|---|---|
| GIT_REVISION | Git commit sha | false | Output of git rev-parse --short HEAD |
| GIT_BRANCH | Git branch | false | Output of git rev-parse --abbrev-ref HEAD |
| Variable | Description | Required | Default |
|---|---|---|---|
| files | Source files to be built and packaged (space separated) | true | |
| directory | Relative path under $GITHUB_WORKSPACE where source code is located | false | |
| credentials | If provided git will be configured to use these credentials and https | false |
If directory argument is specified outputs will be relative to that directory.
Content type
Image
Digest
Size
835.1 MB
Last updated
over 5 years ago
docker pull sevcosec/go-lambda-action