You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to deploy a docker image from a private Google Cloud Artifacts Registry.
Through the Coolify UI, I opened a Terminal session on localhost and installed all the gcloud stuff successfully. Here, I can simply pull my docker image, e.g. docker pull gcr.io/my-project/app:latest, no problem.
However, when I create a new Resource, select Docker Image and set the Docker Image to the same gcr.io/my-project/app:latest and click Deploy on the Configuration page, I get the following error in my Deployment Logs:
error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out:''
In the localhost terminal, which docker-credential-gcloud returns a valid path that is in my $PATH.
It appears that my setup through the localhost terminal is not applied to wherever the docker pull is executed.
Steps to Reproduce
Prerequisites: Clean Coolify instance, a private Docker container in the Google Artifacts Registry, and a GCP service account with Artiacts Registry Admin permissions (as key.json).
Authenticate this Service Account on your Coolify machine through the Coolify Terminal: Save key.json locally and authenticate with gcloud auth activate-service-account --key-file key.json
Configure Docker using gcloud auth configure-docker gcr.io
Test this first: In the Terminal, pull image manually docker pull gcr.io/my-project/app:latest – this should succeed
In Coolify, create a new Resource > select Docker Image > set Docker Image to your repo gcr.io/my-project/app:latest – this fails
Example Repository URL
No response
Coolify Version
v4.0.0-beta.380
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24
Additional Information
No response
The text was updated successfully, but these errors were encountered:
djaax
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
Jan 7, 2025
Error Message and Logs
I'm unable to deploy a docker image from a private Google Cloud Artifacts Registry.
Through the Coolify UI, I opened a Terminal session on localhost and installed all the gcloud stuff successfully. Here, I can simply pull my docker image, e.g. docker pull gcr.io/my-project/app:latest, no problem.
However, when I create a new Resource, select Docker Image and set the Docker Image to the same gcr.io/my-project/app:latest and click Deploy on the Configuration page, I get the following error in my Deployment Logs:
error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out:''
In the localhost terminal,
which docker-credential-gcloud
returns a valid path that is in my $PATH.It appears that my setup through the localhost terminal is not applied to wherever the docker pull is executed.
Steps to Reproduce
Prerequisites: Clean Coolify instance, a private Docker container in the Google Artifacts Registry, and a GCP service account with Artiacts Registry Admin permissions (as key.json).
gcloud auth activate-service-account --key-file key.json
gcloud auth configure-docker gcr.io
docker pull gcr.io/my-project/app:latest
– this should succeedgcr.io/my-project/app:latest
– this failsExample Repository URL
No response
Coolify Version
v4.0.0-beta.380
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24
Additional Information
No response
The text was updated successfully, but these errors were encountered: