How to build and push a docker image | Google Cloud Artifact Registry

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 21

  • @Anonymous-zo9qr
    @Anonymous-zo9qr 5 дней назад

    Thank you so much man. i was really struggling to get this set up correctly. now everything works. thank you. this is really helpful.

  • @averageprogrammingenjoyer2059
    @averageprogrammingenjoyer2059 9 месяцев назад +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.

  • @hakhandare
    @hakhandare 2 месяца назад +1

    denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on resource "projects/PROJECT_ID/locations/asia-south1/repositories/images" (or it may not exist) Error:
    I am getting to this error even though i have have assigned all the permissions to my account related to artifact registry.
    Any idea?

  • @doospy
    @doospy Год назад +1

    very good! it helped me a lot!

  • @raquelnunes5590
    @raquelnunes5590 Год назад +1

    Thanks a lot!!!

  • @oscarflorez2011
    @oscarflorez2011 6 месяцев назад

    thanks for your videos

  • @baranlirath5949
    @baranlirath5949 Год назад

    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  Год назад

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

  • @pappulalakshmareddy3734
    @pappulalakshmareddy3734 Год назад +1

    I'm getting permission denied error even after authentication

    • @TechWithFoyzur
      @TechWithFoyzur  Год назад

      What is the error message?

    • @pappulalakshmareddy3734
      @pappulalakshmareddy3734 Год назад

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

    • @TechWithFoyzur
      @TechWithFoyzur  Год назад

      @@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  Год назад

      Watch here 7:21 to get it fixed
      ruclips.net/video/O2d5auPju5U/видео.html&feature=sharec

    • @TechWithFoyzur
      @TechWithFoyzur  Год назад +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.

  • @LearningWorldChatGPT
    @LearningWorldChatGPT 9 месяцев назад

    Fantastic!
    It helped me a lot !
    Thank you!

  • @Crftbt
    @Crftbt Год назад +1

    so much mic hiss :(

    • @TechWithFoyzur
      @TechWithFoyzur  9 месяцев назад

      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.