image definitions fix.

This commit is contained in:
Bryce Covert
2021-12-24 09:41:25 -08:00
parent 5e9daabf36
commit e7744e28f5
2 changed files with 1 additions and 8 deletions

View File

@@ -21,7 +21,6 @@ phases:
commands:
- npm install
- ./lein build
- cp imagedefinitions.json target/
- echo Build started on `date`
- echo Building the Docker image...
- docker build -t $REPOSITORY_URI:$TAG_NAME .
@@ -33,7 +32,7 @@ phases:
- docker push $REPOSITORY_URI:$TAG_NAME
- docker push $REPOSITORY_URI:$IMAGE_TAG
- echo Writing image definitions file...
- printf '[{"name":"integreat-app","imageUri":"%s"}]' $REPOSITORY_URI:$IMAGE_TAG > imagedefinitions.json
- printf '[{"name":"integreat-app","imageUri":"%s"}]' $REPOSITORY_URI:$IMAGE_TAG > target/imagedefinitions.json
artifacts:
files:
- auto-ap.jar

View File

@@ -1,6 +0,0 @@
[
{
"name": "integreat-app",
"imageUri": "679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat"
}
]