Skip to content

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

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

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

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