Sign inSign up

sevcosec/go-lambda-action

By sevcosec

•Updated over 5 years ago

Image
0

1.7K

sevcosec/go-lambda-action repository overview

⁠Go AWS Lambda Builder Action

GitHub GitHub release (latest SemVer) GitHub Workflow Status Docker Cloud Build Status Docker Image Version (latest semver)

GitHub action for building Go based lambdas

- uses: sevco/[email protected]
  with:
    files: "main.go other/helper.go"
    credentials: ${{ secrets.GIT_CREDENTIALS }}
⁠Environment
VariableDescriptionRequiredDefault
GIT_REVISIONGit commit shafalseOutput of git rev-parse --short HEAD
GIT_BRANCHGit branchfalseOutput of git rev-parse --abbrev-ref HEAD
⁠Inputs
VariableDescriptionRequiredDefault
filesSource files to be built and packaged (space separated)true
directoryRelative path under $GITHUB_WORKSPACE where source code is locatedfalse
credentialsIf provided git will be configured to use these credentials and httpsfalse
⁠Outputs

If directory argument is specified outputs will be relative to that directory.

  • build/artifacts/lambda.$GIT_BRANCH.GIT_REVISION.zip
  • build/artifacts/lambda.$GIT_BRANCH.latest.zip

Tag summary

Content type

Image

Digest

Size

835.1 MB

Last updated

over 5 years ago

docker pull sevcosec/go-lambda-action