Skip to content

Comments

add opt-in skip for missing login credentials#925

Open
crazy-max wants to merge 2 commits intodocker:masterfrom
crazy-max:skip-optin
Open

add opt-in skip for missing login credentials#925
crazy-max wants to merge 2 commits intodocker:masterfrom
crazy-max:skip-optin

Conversation

@crazy-max
Copy link
Member

@crazy-max crazy-max commented Feb 23, 2026

follow-up docker/github-builder#117 (comment)

Adds an opt-in environment variable, DOCKER_LOGIN_SKIP_IF_MISSING_CREDS, to skip login when username or password is missing. This helps workflows like forked pull requests where secrets are not exposed. Default behavior is unchanged, so missing credentials still fail unless the env is enabled.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant