Upgrade Stack from CI server?

My Gitlab is building a Docker image of an application and deploys it to a private registry.
Afterwards I would like to create/upgrade a rancher stack containing the latest image (always pull...) from the CI

How can I achieve that?