Dns compatible version of CI_ENVIRONMENT_NAME

Is there a DNS compatible version of variable for CI_ENVIRONMENT_NAME? I know CI_ENVIRONMENT_SLUG, but it adds some random characters. E.g. env-name-1vj2aj. I would like my environment name to be cleaned but no other stuff is added. I’m using it in my environment URL, and I want the URL to be stable and predictable. Thanks.