Questions tagged [google-artifact-registry]
183 questions
4
votes
2 answers
Migrate "App Engine Standard" away from"Container Registry?" (for "Artifact Registry")
An email just went out about how this migration needs to happen, but it's not entirely clear how this affects App Engine Standard. I have a couple of small things running on that, and the only thing I see in the Container Registry is the…

Ben Guild
- 4,881
- 7
- 34
- 60
4
votes
0 answers
How to add a private repository using poetry?
Using Artifactory (https://cloud.google.com/artifact-registry) I intend to add a dependency with poetry (https://python-poetry.org/docs/repositories/).
I can install with command: pip install --index-url…

Andre Araujo
- 2,348
- 2
- 27
- 41
4
votes
2 answers
How to get latest version of an image from artifact registry
is there a command (gcloud) that return the latest fully qualified name of an image from Artifact registry

aName
- 2,751
- 3
- 32
- 61
4
votes
0 answers
How to populate the "Description" field for docker images in GCP Artifact Repository
I have pushed a docker image to an artifact repository in google cloud. When I go to the google cloud console Artifact Repository page, I see this:
When I click on the kebab menu on the right, I can edit the tags but I do not see an option to edit…

racerX
- 930
- 9
- 25
4
votes
1 answer
Google artifact regitsry NPM + github action
I'm trying to publish a npm package on GAR (Google Artifact Registry) through github using google-github-actions/auth@v0 and google-artifactregistry-auth
For the authentication to google from github here is what I did to use the Federation Workload…

magento2-users
- 127
- 9
4
votes
1 answer
Is it possible to provision a container-optimised OS VM on GCE without actually deploying an image?
I want to build a CI pipeline where the infrastructure stage provisions with Terraform a container-optimised operating system instance on Google Compute Engine before the Dockerized application is uploaded to Artifact Registry and deployed for the…

Blair Nangle
- 1,221
- 12
- 18
4
votes
4 answers
How to download jar from artifact registry (GCP)?
I have a maven Artifact Registry and am able to add dependency in pom.xml and get the jar.
I have another usecase where I would like to only download the jar using CLI something which you can easily do with other external maven repos eg curl…

Deependra Patel
- 168
- 3
- 10
4
votes
2 answers
Google Artifact Registry: Unable to publish package with the same version even after package deletion
I'm trying to publish npm package to the google artifact registry (GAR).
A package with the same version has already been published, but I've deleted it manually from the GAR.
npm view @0.1.3
But still unable to…

Ihor Sakailiuk
- 5,642
- 3
- 21
- 35
3
votes
0 answers
Access image in GCP Artifact Registry from Gitlab CI/CD using a service-account key
I am trying to run a Gitlab CI job using an image from a private GCP Artifact Registry, i.e.:
build job:
stage: build_job
image: toto-tata-docker.pkg.dev/my-gcp/my-project/my-image:${IMAGE_VERSION}
variables:
...
I have read in many…

tbridel
- 31
- 2
3
votes
0 answers
Docker-compose in GCP Cloud build
I'm trying build deploy a app in GCP Cloud run using GCP Cloud Build.
I already build, push and deploy the service using Dockerfile, but i need use the Dockerfile of the project. My dockerfile run in Docker desktop perfectly, but i am not finding…

Johan Valero
- 51
- 1
- 5
3
votes
0 answers
Cannot install private dependency from artifact registry inside docker build when pulling from Github
I am trying to deploy a Cloud run application containing a private python package.
The code from the cloudrun is hosted on Github, and when I push code, it triggers a cloudbuild that builds the Docker, pushes it to the Container registry and creates…

Benjamin Breton
- 1,388
- 1
- 13
- 42
3
votes
4 answers
How to remove an image from Artifact Registry automatically
Using gcloud I can list and remove the images I want through those commands:
gcloud artifacts docker images list LOCATION/PROJECT-ID/RESPOSITORY-ID/IMAGE \
--include-tags --filter="tags:IPLA*" --filter="create_time>2022-04-20T00:00:00"
and…

Sertage
- 3,123
- 1
- 19
- 26
3
votes
3 answers
Cloudbuild can't access Artifacts Registery when building cloud run docker container
I'm using a package from Artifacts Registery in my cloud run nodejs container.
When I try to gcloud builds submit I get the following error:
Step #1: npm ERR! 403 403 Forbidden - GET https://us-east4-npm.pkg.dev/....
Step #1: npm ERR! 403 In most…

AmmAr
- 172
- 9
3
votes
1 answer
Is deploying a Google Cloud Function with Artifact Registry faster than using Container Registry?
An email I recently received from GCP mentions the transition to Artifact Registry for Cloud Functions.
It claims:
Cloud Functions for Firebase and Firebase Extensions have historically
used Container Registry for packaging functions and managing…

Mark Allen
- 192
- 9
3
votes
1 answer
Build a container image from inside a cloud function
Context: I am training a very similar model per bigquery dataset in Google Vertex AI, but I want to have a custom training image for each existing dataset (in Google BigQuery). In that sense, I need to programatically build a custom Docker Image in…

Eduarda Espindola
- 57
- 5