jenkinsci / jenkinsci/docker-workflow-plugin

Do not inherit credentials when setting a registry URL

Open
#740 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

### Jenkins and plugins versions report

-

### What Operating System are you using (both controller, and any agents involved in the problem)?

Linux

### Reproduction steps

1. Set a registry with credentials globally.
2. Specify a `registryUrl` in a `docker {}` block without credentials

### Expected Results

Do not use the globally configured registry credentials.

### Actual Results

Inherits the globally configured value.

### Anything else?

I suppose, it could make sense to also have a way to simply disable the use of a globally configured registry in case one wants to use an image that already exists locally.

### Are you interested in contributing a fix?

_No response_

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.