Skip to content

sjednac/codeship-sbt-ecr

Repository files navigation

Codeship SBT Docker

A sample Scala application, which is released as a Docker image to Amazon ECR, using SBT, in a Codeship pipeline.

Prerequisites

Running locally

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.

About

A sample Scala application, which is released as a Docker image to Amazon ECR, using SBT, in a Codeship pipeline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages