Question

How to setup automatic deployments from DO registry to Apps platform

I was following the tutorial on https://www.digitalocean.com/docs/app-platform/how-to/deploy-from-registry/

But ran into some issues, when i push a new image to the container registry the app platform does not automatically trigger a new deployment. I have to manually go into the component setting and change the source tag to whatever is the latest tag to trigger a new deployment.

I’m not sure what i’m doing wrong. I’ve tried to use both existing and unique tag names, but still no automatic deployments :(

Subscribe
Share

Isn’t there still any update ? This feature is too critical for us.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What a load of crap. It has become clear that Digital Ocean is only good for hello world apps and even Linode is a much better choice. I have wasted so much time on simple things.

@mihkel195 the documentation is incredibly misleading and spent many hours before finding this post which confirms that it won’t automatically deploy.

One possible solution we are looking into is using doctl to trigger a deployment once an image has been pushed (we use GitHub actions).

Keep in mind there is another downside to this when you push an updated Docker image using an existing tag (ex: latest) the old version remains available (in the ether), but there is no way to view (or even less delete) it through the web interface and you will HAVE to use doctl to clean up images.

Hello @mihkel195

Unfortunately, App Platform doesn’t support auto-deployment for changes in DOCR image source at this point but it is on the roadmap. There is no ETA as of now.

I encourage you to share your thoughts about this on our ideas page: https://ideas.digitalocean.com/

We’re constantly looking to improve all aspects of our service and welcome any other ideas or feedback you have! By sharing your thoughts there, it helps us to better prioritize working on the features that you feel need more attention.

Best, Dikshith

Updates?! This is an absolutely critical feature! 😱

Hey, Is there any update ? If automatic deployment is not possible then we are going to change DO to AWS. It is too critical feature.

I too have sunk so much time into automating deployments with App Platform and came up against the same confusion. Without a doubt this is a majorly needed feature for the App Platform so it can be considered a viable professional solution.

@mihkel195 there is one way to do this. I have automated my infrastructure using Terraform which will essentially recreate the Docker component every time you change the image in your Terraform configuration and deploy that using Terraform. It’s not ideal but at least it can be automated and it’s not too slow.

This link is a good place to get started with Terraform:

https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app#image