Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello,
I deployed the apps with Github repository option at first. Now I try to change it to DOCR.
When I try to do it from “doctl” I get "Image tag not found. When I try to do it via Github Action “digitalocean/app_action@main” I get error as Question Title.
I am kind of stuck of this process now. Error messages unfortunately not helpful.
Following lines are my current app-spec, app-spec that I would like to update it via doctl and last one my Github Action file.
I would be glad if you guide me on this. Many thanks
Current App Spec
name: *********
region: fra
services:
- build_command: yarn build
github:
branch: dev
repo: <organization-name>/repo-name>
http_port: 3001
instance_count: 1
instance_size_slug: basic-xs
name: *********
routes:
- path: /backend
run_command: yarn start
source_dir: /
- build_command: yarn build
github:
branch: dev
repo: <organization-name>/repo-name>
http_port: 8080
instance_count: 1
instance_size_slug: basic-xxs
name: *********
routes:
- path: /
run_command: yarn start
source_dir: /
Doctl Update App Spec
name: *******
region: fra
services:
- name: *******
environment_slug: node-js
image:
registry_type: "DOCR"
repository: registry.digitalocean.com/<registry-name>/<docker-image-name>
tag: "19600b3"
http_port: 3001
instance_count: 1
instance_size_slug: basic-xs
routes:
- path: /backend
- name: *******
environment_slug: node-js
github:
branch: dev
deploy_on_push: false
repo: <organization-name>/repo-name>
http_port: 8080
instance_count: 1
instance_size_slug: basic-xxs
routes:
- path: /
Github Action that I use
delivery:
needs: [buildx]
runs-on: ubuntu-latest
steps:
-
name: Generate GITHUB_SHA
id: github-sha
shell: bash
run: |
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)
echo "::set-output name=sha::$SHORT_SHA"
-
name: Digital Ocean App Platform Deployment
uses: digitalocean/app_action@main
with:
app_name: <app-name>
token: ${{ secrets.DO_ACCESS_TOKEN }}
images: '[{
"name": "<component-name>",
"image": {
"registry_type": "DOCR",
"repository": "registry.digitalocean.com/<registry-name>/<image-name>",
"tag": "${{steps.github-sha.outputs.sha}}"
}
}]'
a6309a057c3f4cb38fb2e7feb67236
KFSys
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin