How to build and push a docker image | Google Cloud Artifact Registry
Вставка
- Опубліковано 2 сер 2024
- #devops #docker #techwithfoyzur
You can support me here 🙏
buymeacoffee.com/techwithfoyzur
**CHAPTERS**
00:00 Introduction
01:06 How to create a repo
02:15 How to turn on vulnerability scanning
02:38 Create a repository in GCP Artifact Registry
04:52 How to build a docker image
07:32 How to push a docker image
09:12 Understanding reported vulnerabilities
10:00 recap and summary
In this session, we talk about the GCP Artifact Registry. Furthermore, we demoed how to build and push a docker image to the Google container registry, including exploring the docker image scanning and its reported vulnerabilities.
✅ GCP playlist
• GCP Cloud SQL | Google...
✅ Tips And Tricks Playlist
• TipsNTricks
✅ Azure cloud playlist
• Azure Container Regist...
✅ Docker playlist
• Docker in IntelliJ IDE...
✅ Gitlab playlist
• #5 Gitlab Container Re...
Do not forget to press the subscribe button and share this video with your friends. More videos are coming each week, so stay tuned. Thank you
ℹ️ Useful link:
cloud.google.com/artifact-reg... - Наука та технологія
Thanks a ton for this amazing tutorial. I have been having a lot of trouble pushing the image to the cloud but now it is solved.
Glad to hear that :) thanks
thanks for your videos
very good! it helped me a lot!
Glad it helped!
Thanks a lot!!!
No worries!
Hi , I am pushing docker image through gitlab pipeline with service account authentication, getting error docker demon is not running.How to fix that issue please guide
Are you running in DinD? Can you share gitlab pipeline yaml and the exact error message?
I'm getting permission denied error even after authentication
What is the error message?
@@TechWithFoyzur denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on resource "project/gcloud-{projectid}/locations/{location}/repositories/{reponame}"
@@pappulalakshmareddy3734this is a very common error. The auth alone wont let you push to the GCP AR because you need to give permission to your user/service account (which ever u r using) (admin/editor/read/write). When I am with laptop tomororw I will link you up with the docs.
Watch here 7:21 to get it fixed
ua-cam.com/video/O2d5auPju5U/v-deo.html&feature=sharec
You need to go to
IAM -> service accounts -> select the correct one -> click on permissions -> grant permissions -> in the principal option choose the right one -> give the correct permission editor role should be fine(search artifact)
I wrote the steps by heart just to let you know in case I did not remember the exact steps , but you get the idea.
After that try to push again after authenticating, you should be able to push.
so much mic hiss :(
Yeah gotta get proper tools which I do not have yet though. Hopefully sometime this year I will set up a proper home studio :) finger crossed.
Fantastic!
It helped me a lot !
Thank you!
Glad to hear that :)