Replies: 9 comments 7 replies
-
|
I believe for Digital Ocean specifically you must use your registered account email address as the registry username |
Beta Was this translation helpful? Give feedback.
-
|
@bntzio for DigitalOcean you should add account name to the server address. Below is the config that works in one of my deploys. |
Beta Was this translation helpful? Give feedback.
-
|
@bntzio |
Beta Was this translation helpful? Give feedback.
-
|
Not sure who needs this, but this worked for me: # Name of the container image.
image: registryname/app_name
# Credentials for your image host.
registry:
server: registry.digitalocean.com
username:
- KAMAL_REGISTRY_USERNAME
password:
- KAMAL_REGISTRY_PASSWORDand my |
Beta Was this translation helpful? Give feedback.
-
|
I put in a PR to update the docs for this. The main change being that DO expects your email address as the username, you can't just use your password( |
Beta Was this translation helpful? Give feedback.
-
|
I needed to upgrade from the free plan to enable pushing the image, it was too large for that plan. |
Beta Was this translation helpful? Give feedback.
-
|
For me, the issue was in the image name. Wasn't aware that you have to insert the |
Beta Was this translation helpful? Give feedback.
-
|
I tried this out this week and failed to get it working. Same error. I tried everything from the image to the registry, etc. I even validated I could push manually and it all worked, but for some reason through the docker builder docker pushes just won't work. I ended up using GitLab's Docker Registry and it worked perfectly the first try. |
Beta Was this translation helpful? Give feedback.
-
|
honestly i ended up giving up on using kamal. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to deploy a rails app with kamal by pushing the app image to the digital ocean registry instead of the default registry (which is docker hub) but I'm getting an authentication error:
Using:
Steps to reproduce:
kamaland modify thedeploy.ymlconfig file to set up hosts, traefik, volumes, and registryKAMAL_REGISTRY_PASSWORDin the.envfile, along withRAILS_MASTER_KEYkamal setupMy
KAMAL_REGISTRY_PASSWORDis a Digital Ocean personal access token with scopesregistry (4): create, read, update, delete(I've also tried with a full access scope and the same error is thrown).Seems that Digital Ocean stores the image layers in Digital Ocean Spaces which in turn requires its own Spaces Key to access, that's my guess.
Beta Was this translation helpful? Give feedback.
All reactions