Questions tagged [google-artifact-registry]

183 questions
3
votes
4 answers

Compute Engine Deploy Container

I am using golang to programmatically create and destroy one-off Compute Engine instances using the Compute Engine API. I can create an instance just fine, but what I'm really having trouble with is launching a container on startup. You can do it…
3
votes
1 answer

Invalid repository type PYTHON. Valid type is PYPI

I have created (using terraform resource google_artifact_registry_repository) a python repository on Google Artifact Registry. Here's my terraform code that created it: resource "google_artifact_registry_repository" "pypi" { provider =…
jamiet
  • 10,501
  • 14
  • 80
  • 159
3
votes
2 answers

Create Service Connection from Azure DevOps to GCP Artifact Registry

Is there have any tutorials for creating a service account to GCP Artifact Registry? i have tried this: https://cloud.google.com/architecture/creating-cicd-pipeline-vsts-kubernetes-engine ... but it is using GCP Container Registry I do not imagine…
Mexicoder
  • 517
  • 1
  • 6
  • 18
2
votes
1 answer

How do you get the manifest of an image in GCP artifact registry using the Go SDK?

I am looking to use this library but it does not offer this option. https://cloud.google.com/go/docs/reference/cloud.google.com/go/artifactregistry/latest/apiv1. It seems the struct artifactregistrypb.DockerImage simply does not have the option.
Susie
  • 103
  • 6
2
votes
1 answer

How (or can) I backup a Google Artifact Registry instance?

I'm looking at moving to using Artifact Registry as a replacement for Artifactory and I wondering how, or if, I would backup the stored files to guard against a server failure? Maybe that's not a thing I need to worry about with GCP?
MrChaz
  • 1,065
  • 1
  • 8
  • 17
2
votes
0 answers

How to get full GCP GCR image name using Golang to use in container-analysis for vulnerabilities

I would like to get a compiled list of image vulnerabilities from GCP similar to what shows in the console but in an automated report-type fashion. Using Golang, my thought process was to get the list of images and then get the vulnerabilities for…
2
votes
1 answer

Google Cloud Artifact Registry Docker Storage pricing for images with Virtual size

I have checked the documentation of AR and i see we have a storage cost mentioned as 0.1/GB per month for Docker images. Here However, docker has virtual size images and not actual size so does it matter in pricing of AR docker storage ? Can anyone…
2
votes
1 answer

Very Slow Upload Times to GCP Apt Artifact registry

I have a CI/CD system uploading numerous large deb's into a Google Cloud Artifact Registry for Apt packages. The normal upload time is roughly 10 seconds for the average package. Yesterday all of the upload commands to this artifact registry started…
Alan Waite
  • 23
  • 4
2
votes
1 answer

Transitioning container registry to gcr.io finalise step failure

I have completed the steps to transition my container registry images to artifact registry. But on the last step (Finalise), I keep getting this error with no extra information on how to solve it: Failed to finalise gcr.io routing: Precondition…
2
votes
1 answer

How to build and push a docker image in a Terraform Docker Provider by GCP Cloud Build

References Terraform Docker Provider Terraform Google Provider GCP Cloud Build Context Details The deployemnt is done by CICD based on the GCP Cloud Build (and the cloud build service account has an 'owner' role for relevant projects). Inside a…
2
votes
0 answers

Any Specific way to push image from jenkin to private GC artifact regisrty?

I want to push the docker image from the Jenkins pipeline to the private GC artifact registry. how should I proceed with it?
2
votes
0 answers

Ho to get the helm index (list of tags) of a artifact registry (for argocd)?

We are using Argocd for our CICD in our cluster. Currently we are switching our Helm repository from the Gitlab Container Registry to the GCP Artifact registry. There is one problem I am facing. It was possible to fetch from Gitlab the whole list of…
2
votes
1 answer

Service Account Unable to Push Docker Image to Google Artifact Registry

I am trying to push a Docker image to Google Artifact Registry (GAR) while impersonating a Service Account ($SERV_ACCT_EMAIL): denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource…
2
votes
1 answer

Deploy GCP Cloud functions to Artifact Registry using Terraform

I am trying to deploy cloud function to artifact registry instead of container registry using Terraform. I have created an artifact repository in GCP and Using the google-beta provider. But I am not able to understand where to mention…
2
votes
0 answers

Using GCP Artifact Registry to store NPM dependencies

Would like to use GCP Artifact Registry to be the source of truth for NPM packages to make sure developers are bringing in packages they have gone through licensing, vulnerability, and even potentially overriding them with a patched version Google…
bloodsper
  • 21
  • 1
1 2
3
12 13