I have created a workload on Rancher. This workload created from an image which is hosted on a gitlab-ci project registry

I have created a workload on Rancher. This workload created from an image which is hosted on a gitlab-ci project registry.

I want to force rancher to download a new version of this image and upgrade workload.

I want to do this from a .gitlab-ci.yml script. How to do this with Rancher version 2 ? With Rancher 1.6 I used this script:

deploy:
  stage: deploy
  image: cdrx/rancher-gitlab-deploy
  script:
    - upgrade --stack mystack --service myservice --no-start-before-stopping

Thanks,
Gracylayla