PERMISSION_DENIED: cannot resolve workspace image: not authorized

Issue currently
Request startWorkspace failed with message: 7 PERMISSION_DENIED: cannot resolve workspace image: not authorized

I have managed to get all pods working, certificates and own docker registry working but when i try to get example petclinic spring boot app working i get image not authorised error.

All my pods are running.
I have created own docker registry running on registry-docker.mydomain.com:5000
I have use certbot to add certificates for registry-docker.mydomain.com

FYI : this is all on the same instance . So my k3s cluster and docker registry is on same server not sure if this is an issue.

my values.custom.yaml look like this

Blockquote

rabbitmq:
auth:
username: username
password: password
minio:
accessKey: secret
secretKey: secret
hostname: gitpod.myDomain.com
components:
imageBuilder:
registryCerts: []
registry:
# name must not end with a “/”
name: registry-myDomain.com:5000
secretName: image-builder-registry-secret
path: secrets/registry-auth.json
workspace:
pullSecret:
secretName: image-builder-registry-secret
docker-registry:
enabled: true
proxy:
loadBalancerIP: null
wsProxy:
ingress:
portRange:
start: 10000
end: 11000
wsDaemon:
containerRuntime:
containerd:
socket: /var/run/k3s/containerd/containerd.sock
nodeRoots:
- /var/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io

Blockquote