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...
  • Наука та технологія

КОМЕНТАРІ • 19

  • @averageprogrammingenjoyer2059
    @averageprogrammingenjoyer2059 4 місяці тому +2

    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.

  • @oscarflorez2011
    @oscarflorez2011 Місяць тому

    thanks for your videos

  • @doospy
    @doospy 8 місяців тому +1

    very good! it helped me a lot!

  • @raquelnunes5590
    @raquelnunes5590 8 місяців тому +1

    Thanks a lot!!!

  • @baranlirath5949
    @baranlirath5949 7 місяців тому

    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

    • @TechWithFoyzur
      @TechWithFoyzur  7 місяців тому

      Are you running in DinD? Can you share gitlab pipeline yaml and the exact error message?

  • @pappulalakshmareddy3734
    @pappulalakshmareddy3734 11 місяців тому +1

    I'm getting permission denied error even after authentication

    • @TechWithFoyzur
      @TechWithFoyzur  11 місяців тому

      What is the error message?

    • @pappulalakshmareddy3734
      @pappulalakshmareddy3734 11 місяців тому

      @@TechWithFoyzur denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on resource "project/gcloud-{projectid}/locations/{location}/repositories/{reponame}"

    • @TechWithFoyzur
      @TechWithFoyzur  11 місяців тому

      @@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.

    • @TechWithFoyzur
      @TechWithFoyzur  11 місяців тому

      Watch here 7:21 to get it fixed
      ua-cam.com/video/O2d5auPju5U/v-deo.html&feature=sharec

    • @TechWithFoyzur
      @TechWithFoyzur  11 місяців тому +1

      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.

  • @Crftbt
    @Crftbt 9 місяців тому +1

    so much mic hiss :(

    • @TechWithFoyzur
      @TechWithFoyzur  4 місяці тому

      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.

  • @LearningWorldChatGPT
    @LearningWorldChatGPT 4 місяці тому

    Fantastic!
    It helped me a lot !
    Thank you!