jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-38766] withRegistry() duplicates registry name

Open
#448 1 comment 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

If you have a docker image with a registry already specified, and then try to push it to a different registry in a withRegistry() block, the plugin prepends the new registry in front of the old one, rather than replacing the old registry.

---
Originally reported by llamahunter, imported from: withRegistry() duplicates registry name


  • status: Open
  • priority: Major
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

Raw content of original issue

If you have a docker image with a registry already specified, and then try to push it to a different registry in a withRegistry() block, the plugin prepends the new registry in front of the old one, rather than replacing the old registry.

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.