Kubernetes executor doesn't display correct docker image name when passed as variable

Hi,

I want to pass the docker image as variable. The relevant part in my gitlab-ci.yml reads:

 image: 
    name: ${DOCKER_IMAGE}

This works, however, the runner displays

Using Kubernetes executor with image ${DOCKER_IMAGE} ...

If I pass the image name directly (not as a variable), the name is displayed properly.

  • I’m using
    • GitLab: 13.5.1 Community
    • Runner: 13.5.0 (ece86343)

Can I fix this somehow?

Thanks and best regards,
ottmar