Skip to content

add registry-login input for optional registry auth before build#117

Open
crazy-max wants to merge 1 commit intomainfrom
registry-login
Open

add registry-login input for optional registry auth before build#117
crazy-max wants to merge 1 commit intomainfrom
registry-login

Conversation

@crazy-max
Copy link
Member

This PR adds an explicit registry-login input to both reusable workflows. It allows logging in to registries before the build step when users need to pull private images even if push is false or output is not image. The input supports auto, true, and false, with auto keeping current behavior by logging in only when output is image and push is true. The workflows now validate this input and fail when login is enabled but registry-auths is not provided.

@crazy-max crazy-max force-pushed the registry-login branch 3 times, most recently from 1f53313 to 97e2afd Compare February 16, 2026 15:09
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max marked this pull request as ready for review February 16, 2026 15:13
@crazy-max crazy-max requested a review from a team as a code owner February 16, 2026 15:13
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.

Allow registry auth for local output Docker Login not just for push?

1 participant