Expected behavior
The variable should be resolved, same as for image.
Host information
gitlab-ci-local 4.47.0
Additional context
I have added a test and a "solution" in https://github.com/PigeonF/gitlab-ci-local/tree/dotenv-in-service, but I am not well versed in typescript and the solution feels quite hacky, since the dotenv variables are not available in the constructor. If you want to, I can submit the changes as a PR, but I feel someone more experienced should think of a more robust solution instead.
Minimal .gitlab-ci.yml illustrating the issue
Expected behavior The variable should be resolved, same as for
image
.Host information gitlab-ci-local 4.47.0
Additional context I have added a test and a "solution" in https://github.com/PigeonF/gitlab-ci-local/tree/dotenv-in-service, but I am not well versed in typescript and the solution feels quite hacky, since the dotenv variables are not available in the constructor. If you want to, I can submit the changes as a PR, but I feel someone more experienced should think of a more robust solution instead.