Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Correct location #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/deployment/updatecrystal.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ EOF
* First, take a look at what changes are in the patch.

```bash
git apply --stat ecsdemo-crystal/add_time_ms.patch
git apply --stat ~/environment/ecsdemo-crystal/add_time_ms.patch
```

* Run **git apply** to apply the patch.
Expand All @@ -77,9 +77,9 @@ git -C ~/environment/ecsdemo-crystal apply add_time_ms.patch
```bash
CRYSTAL_ECR_REPO=$(jq < cfn-output.json -r '.CrystalEcrRepo')

$(aws ecr get-login --no-include-email)
aws ecr get-login-password --region ${AWS_REGION} | docker login --username AWS --password-stdin $CRYSTAL_ECR_REPO

docker build -t crystal-service ecsdemo-crystal
docker build -t crystal-service ~/environment/ecsdemo-crystal
docker tag crystal-service:latest $CRYSTAL_ECR_REPO:epoch
docker push $CRYSTAL_ECR_REPO:epoch
```