diff --git a/pom.xml b/pom.xml index 3eda60e90..a140d8f76 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,9 @@ 1.3.8 2.9.8 UTF-8 + + ${env.ECR_REPOSITORY} + @@ -277,10 +280,109 @@ + + com.spotify + dockerfile-maven-plugin + 1.4.8 + + + production + + build + push + + + ${ecr.repository}/signal-service + false + ${project.version}-production + + ${project.build.finalName}.jar + production.yml + + + + + staging + + build + push + + + ${ecr.repository}/signal-service + false + ${project.version}-staging + + ${project.build.finalName}.jar + staging.yml + + + + + + + org.signal + ecs-maven-plugin + 1.0-SNAPSHOT + + US_EAST_1 + signal-service + staging + ${project.version}-staging + + + + staging + + create-task-revision + + + staging + ${project.version}-staging + + + + production + + create-task-revision + + + production + ${project.version}-production + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M1 + + true + + + + + + + com.gkatzioura.maven.cloud + s3-storage-wagon + 1.6 + + + + maven-staging-repo-snapshot + s3://maven-staging-repo.signal.org/snapshot + + false + + + true + + gcm-server-repository https://raw.github.com/whispersystems/maven/master/gcm-server/releases/