App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.
Follow the Quickstart instructions for creating a DigitalOcean Container Registry, and push your image to the registry.
Visit the Apps page.
Click Create App if starting from scratch, or click an existing app to add your container image to your solution.
Select DigitalOcean Container Registry as the source for your code, choose the image you would like to use from the Repository drop-down, and select the tag of the image you would like to deploy.
Configure resources for your app.
If you want to use resource- and app-level environment variables, on the Environment page, click Edit to supply them. Click the Encrypt checkbox to ensure a variable’s value is encrypted in the App Spec. Click Next.
If you want to change the default name or project for your app, or choose the region where you would like your app to be hosted, click Edit on the Info page. Click Save and then click Next.
Review your app’s resources, environment variables and billing information on the Review page and then click Create Resources.
Once your app deploys, you can view the app at the URL at the top of the app’s Overview page.
When updating the source image tag, a new deployment will be triggered. If the actual tag name has not changed, it is not guaranteed to pull down a fresh copy of the image due to caching. The recommended approach is to use unique tag names for all image updates.
You can change the tag of the container image to use as the source of an existing deployment: