jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-67633] Cannot use an environment variable like ${REGISTRY} as part of the docker registry name any more
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Until now we had a parametrized name of our internal Docker registry configured in the Jenkins main config. We used an environment variable like ${REGISTRY} which was evaluated/expanded properly.
However, after updating the Docker Commons and Docker Workflow plugins to their current latest versions, this is no longer supported.
The workaround that worked is to just hardcode the Docker registry name instead.
---
Originally reported by
turbobobi, imported from: Cannot use an environment variable like ${REGISTRY} as part of the docker registry name any more
Raw content of original issue
Until now we had a parametrized name of our internal Docker registry configured in the Jenkins main config. We used an environment variable like ${REGISTRY} which was evaluated/expanded properly.
However, after updating the Docker Commons and Docker Workflow plugins to their current latest versions, this is no longer supported.
The workaround that worked is to just hardcode the Docker registry name instead.
environment
```
Jenkins = 2.319.2
docker-commons-plugin = 1.18
docker-workflow-plugin = 1.27
```
Contributor guide
Assessment
This issue has not been assessed yet.