jenkinsci / jenkinsci/docker-workflow-plugin

Avoid registry login if an image does not need to be pulled

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

Description

### What feature do you want to see added?

It is kind of pointless to always login, when the `alwaysPull` is set to `false` and the image is already cached locally. It would be useful if the login is done lazily in this case and is only triggered when it is really needed.

Specifically, it seems that I have a problem where the number of logins is throttled by the registry. In that case, jobs suddenly start failing even though the login is not even required.

### Upstream changes

_No response_

### Are you interested in contributing this feature?

_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.