great, just what I was looking for)) Good that after subscribtion any youtube search now shows your results in top list) Documentation is so confusing without any practical usages)
Great content, could you please let me know how to go about the same if I am not dealing with github but some other repo. My basic goal for the moment is to upload my dockerfiles to artifact registry
Docker has a GitHub Action with ability to cache layers, maybe you can extract that part from there - github.com/docker/build-push-action/blob/master/docs/advanced/cache.md
Thank you for this informative video! Would you be able to make a video about deploying and running containers from docker images in artifact registry to a GCE instance using GitHub Actions?
Well I was referring to the multistage docker build which is based either on scratch or distrolless image. Exampe - github.com/GoogleContainerTools/distroless/tree/main/examples/python3-requirements
Is that necessary to create a separate dockerfile in the repo to create a container image or if we mentioned the docker details in the workflow is enough to create a container image...
This is amazing, but I believe the syntax has changed in the last year. Would you be able to make a video on not only publishing to the artifact registry but also auto-deploying to a kubernetes cluster?
Excellent, i followed same but it is failing during pushing image to GCR, saying required permissions don't have on service account. Do you have any idea how that can be fixed?
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
👉 How to Manage Secrets in Terraform - ua-cam.com/video/3N0tGKwvBdA/v-deo.html
👉 Terraform Tips & Tricks - ua-cam.com/video/7S94oUTy2z4/v-deo.html
👉 ArgoCD Tutorial - ua-cam.com/video/zGndgdGa1Tc/v-deo.html
Pretty sure you just saved me 1 to 2 whole days' work. Subscribed!
Thanks!
great, just what I was looking for)) Good that after subscribtion any youtube search now shows your results in top list) Documentation is so confusing without any practical usages)
Cool, thanks. Use Artifact Registry, I think GCR will be deprecated soon.
This helps me with creation of service account for Artifact Registry. Thank you.
welcome!
Thank you very much! very helpful! 😋
Thanks Roni!
Excellent content. Congratulations on the knowledge transferred. Thank you very much.
Glad it was helpful!
Great content, could you please let me know how to go about the same if I am not dealing with github but some other repo. My basic goal for the moment is to upload my dockerfiles to artifact registry
that was very helpfull, thanks
Glad it helped
very helping. thanks
Thanks jamee!
Thank you Anton! There is a way to use docker layer caching for speed up this process on larger docker images?
Docker has a GitHub Action with ability to cache layers, maybe you can extract that part from there - github.com/docker/build-push-action/blob/master/docs/advanced/cache.md
Thank you for this informative video! Would you be able to make a video about deploying and running containers from docker images in artifact registry to a GCE instance using GitHub Actions?
Sure sometime in the future
Excellent, l have pushed to artifact
Thanks!
wow very nice tutorial, thank you! btw just curious, how to pull container image from private google artifacts registry in github actions?
your k8s service account that you use to create k8s nodes need to have object storage viewer access to the gs bucket with images
excellent content.
thank you
Much appreciated!
Hi,
at 2:10, what would the "production ready" image look like ?
Well I was referring to the multistage docker build which is based either on scratch or distrolless image. Exampe - github.com/GoogleContainerTools/distroless/tree/main/examples/python3-requirements
@@AntonPutra oh ok! Thank you 🙂
Is that necessary to create a separate dockerfile in the repo to create a container image or if we mentioned the docker details in the workflow is enough to create a container image...
well you need a dockerfile or github action that can build one
This is amazing, but I believe the syntax has changed in the last year. Would you be able to make a video on not only publishing to the artifact registry but also auto-deploying to a kubernetes cluster?
Sure, will do
Great topic Anton. Any chance you can show how to create PyPI repos using Artifact Registry. I think it would be awesome to see
Thank you for the suggestion!
Excellent, i followed same but it is failing during pushing image to GCR, saying required permissions don't have on service account. Do you have any idea how that can be fixed?
see if they now require new set of permissions (gcp)
Same for me. Did you find solution?
Hello. I configured everything as you show but unfortunately I`m getting permissions denied on push step. For both cases.
I even tried with "owner" permission for service account. Don`t works..
They recently released a new cloud functions that are based on cloud run service so far as I remember. Try to look into that
Thank you
You're welcome
It's now not recommended anymore to use key auth, but Workload Identity Federation instead
Noted
then how to deploy to GCR?
you mean GKE? well i have few tutorials on that topic
How to use git lfs in gcloud
I've never used it myself, why not to use object store? But i found one implementation for gcp - github.com/vitalibo/git-lfs/
how to deploy GKE?
How to Create GKE Cluster Using TERRAFORM from Scratch? (GCP Shared VPC | Terraform GCP Kubernetes) - ua-cam.com/video/XTcos7s0iDo/v-deo.html
@@AntonPutra how to Deploy the Docker image to the GKE cluster? used kustomize?