great video and upto the point. I have a question on your buildspec.yml; Why is the docker image being pushed twice once on line 23 and 24. Please clarify. thanks
Replace the following line in your buildspec.yml file: $(aws ecr get-login --region us-east-1 --no-include-email) With this line: aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin
I was testing and this seems to add latest to the most recent build tag. It also removes the previous latest as well. I tried removing one at running and you either get tagged with "latest" only or the $IMAGE_TAG. To have both it needs to run twice? I wonder if this is a hack or best practice
I know Im randomly asking but does someone know a tool to log back into an instagram account?? I stupidly forgot the login password. I appreciate any tips you can offer me!
@Tony Stanley thanks for your reply. I found the site thru google and Im trying it out atm. Takes quite some time so I will reply here later with my results.
Hi ,Thanks for your time and efforts on sharing the knowledge. can you please eloborate the 2 below lines COMMIT_HASH=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7) IMAGE_TAG=build-$(echo $CODEBUILD_BUILD_ID | awk -F":" '{print $2}')
[Container] 2021/10/14 06:02:06 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/r5d4c1u3. Reason: exit status 1 will u please solve it.......... i followed as well as u created but didn't work for me
This is EXACTLY what I needed. This was extremely helpful, thank you so much!
Great presentation, thank you! it's pretty helpful
Extremely helpful. Thank you for the video
good~ helpful to me
Happy to help
great video and upto the point. I have a question on your buildspec.yml; Why is the docker image being pushed twice once on line 23 and 24. Please clarify. thanks
He is pushing both the Images to ECR. One with Tag as latest and other with $IMAGE_TAG. So 2 images will be pushed as per my understanding
Thanks, 05:40 saved my day! :D
Replace the following line in your buildspec.yml file:
$(aws ecr get-login --region us-east-1 --no-include-email)
With this line:
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin
make a video for java api similar this tutorial using jenkins. please
Perfect
Do I need to have local docker file specific to project or by just having buildspec.yml is enough to build dependencies
perfect
where i can get that sample project?
Nice video.
Can u make. The video how to deploy that application into eks cluster .
Sure Chandra
@@JavaHomeCloud nice videos...please make more such videos....eks cluster awaited
How can I do the same but with a docker-compose ?
Why are you pushing the image with tag latest as well as defined image tag with $IMAGE_TAG variable ??
I was testing and this seems to add latest to the most recent build tag. It also removes the previous latest as well. I tried removing one at running and you either get tagged with "latest" only or the $IMAGE_TAG. To have both it needs to run twice?
I wonder if this is a hack or best practice
Very crips ! Thanks
Thank you too!
how to deploy it to ecs or ec2 instance, can you create the tutorial please
Yeah, will try in my free time
9:13 where did it say you didn't login to ecr
For the next build, if the ECR image is tagged with latest, what happens to the image in the previous build that was tagged with latest
I know Im randomly asking but does someone know a tool to log back into an instagram account??
I stupidly forgot the login password. I appreciate any tips you can offer me!
@Ares Spencer Instablaster ;)
@Tony Stanley thanks for your reply. I found the site thru google and Im trying it out atm.
Takes quite some time so I will reply here later with my results.
@Tony Stanley It worked and I now got access to my account again. I am so happy!
Thank you so much, you really help me out !
@Ares Spencer You are welcome xD
Hi ,Thanks for your time and efforts on sharing the knowledge.
can you please eloborate the 2 below lines
COMMIT_HASH=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7)
IMAGE_TAG=build-$(echo $CODEBUILD_BUILD_ID | awk -F":" '{print $2}')
[Container] 2021/10/14 06:02:06 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/r5d4c1u3. Reason: exit status 1
will u please solve it.......... i followed as well as u created but didn't work for me
same issue
Edit your environment and try using an amazon linux2 and an older image. I used aws/codebuild/amazonlinux2-x86_64-standard:2.0