#Docker image for AWS Lambda deployments
##Example pipeline
image: tombras/lambda
pipelines:
branches:
master:
- step:
deployment: staging
caches:
- node
script:
# package up the function for deployment
# Be sure to change the arguments to your function files
- npm install
- zip -r /tmp/artifact.zip *.js src node_modules package.json package-lock.json
- python lambda_deploy_dev.py # run the deployment script
- step:
name: Deploy to production
deployment: production
trigger: manual
caches:
- node
script:
# package up the function for deployment
# Be sure to change the arguments to your function files
- npm install
- zip -r /tmp/artifact.zip *.js src node_modules package.json package-lock.json
- python lambda_deploy.py # run the deployment script
Content type
Image
Digest
Size
375.5 MB
Last updated
over 8 years ago
docker pull tombras/lambda