Adding tags list to register command

I’m new to gitlab self managed community edition - I am upgrading our companys self managed install from its current version of 15.7.8 and am following the upgrade tools path to upgrade in stages and the first stage is to go to 15.11.13. Our gitlab runners are created from an AWS EC2 Autoscaling group and launch template that runs a script to run the gitlab-runner register command.

From Version 15.11 the registration token used within the register command in the script is being deprecated and it states to use authentication token instead and the --token option. As part of this change the gitlab docs say that --tag-list can no longer be used when using an authentication token.

My question is how do you add a tag list to a runner on registering it using the gitlab-runner register command or can it still be used when specifying --token option and the token has a prefic of glrt

this is within our script being run when a new runner is being created in AWS EC2:

sudo gitlab-runner register
–non-interactive
–name “shared-runner”
–url “https://ourgitlaburl.uk/
–registration-token “registration_token”
–tag-list “docker”
–docker-image “amazonlinux:latest”
–executor “docker”

I know that registration token can continue to be used up until version 17 but i will need to change the runner registration process to use an authentication token but need a way to still continue to add tags when the new runner is registered.

Thanks for any assistance