Skip to content

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

Open
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:registry-login
Open

add registry-login input for optional registry auth before build#225
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:registry-login

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Jun 3, 2026

carry #117 with a fork

This PR adds a registry-login input to both reusable workflows to control whether registry login happens before the build step. The input supports auto, true, and false:

  • auto preserves the current behavior and enables login only when output=image and push=true
  • true always attempts a pre-build login
  • false disables pre-build login

This makes pre-build registry authentication available for cases such as local output or non-push builds, while keeping the default behavior unchanged.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max marked this pull request as ready for review June 4, 2026 08:03
@crazy-max crazy-max requested a review from a team as a code owner June 4, 2026 08:03
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