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

Change ECR Login Command #9

Open
wants to merge 2 commits into
base: main
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
2 changes: 1 addition & 1 deletion content/prerequisites/bootstrapsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ cat > ~/environment/scripts/build-containers <<-"EOF"
CRYSTAL_ECR_REPO=$(jq < cfn-output.json -r '.CrystalEcrRepo')
NODEJS_ECR_REPO=$(jq < cfn-output.json -r '.NodeJSEcrRepo')

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

docker build -t crystal-service ecsdemo-crystal
docker tag crystal-service:latest $CRYSTAL_ECR_REPO:vanilla
Expand Down