jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-67633] Cannot use an environment variable like ${REGISTRY} as part of the docker registry name any more

Open
#686 2 comments 0 reactions 0 assignees View on GitHub
component:docker-commons-plugin component:docker-workflow-plugin imported-jira-issue priority:major regression resolution:unresolved
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


  • status: Open
  • priority: Major
  • component(s): docker-commons-plugin, docker-workflow-plugin
  • label(s): regression
  • resolution: Unresolved
  • votes: 1
  • watchers: 4
  • imported: 2025-12-07

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.