- build image
docker build -t lab-web-app .
- deploy ECR,
cdk deploy --app 'npx ts-node cdk/ecr.ts'
- get login credentials for ecr
aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 646858379215.dkr.ecr.eu-west-1.amazonaws.com
- tag image in ecr
docker tag lab-web-app:latest 646858379215.dkr.ecr.eu-west-1.amazonaws.com/lab-web-app:latest
- push image to ecr
docker push 646858379215.dkr.ecr.eu-west-1.amazonaws.com/lab-web-app:latest
- cdk deploy --app 'npx ts-node cdk/ecs.ts'
-
Notifications
You must be signed in to change notification settings - Fork 2
anton-iskryzhytskyi/cicd-githubactions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published