A sample Scala application, which is released as a Docker image to Amazon ECR, using SBT, in a Codeship pipeline.
Put your AWS environment variables in aws.env
:
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=???
AWS_SECRET_ACCESS_KEY=???
Setup a Codeship project and download codeship.aes to the project root directory.
Encrypt the file using jet encrypt
:
jet encrypt aws.env aws.env.encrypted
Run all pipeline steps using jet
:
jet steps
NOTE: Make sure that aws.env
and codeship.aes
are included in .gitignore
in your target project.