Fork me on GitHub

buildx:login

Full name:

org.honton.chas:buildx-maven-plugin:0.0.10:login

Description:

Set credentials for use when pushing to (or pulling from) registry.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: prepare-package.

Required Parameters

Name Type Since Description
<registry> String - Registry location; used to look up the credentials in settings.xml and locate the registry
User property is: buildx.registry.

Optional Parameters

Name Type Since Description
<cli> String - image build command line interface
Default value is: docker.
User property is: buildx.cli.
<password> String - The password for the registry if no entry in settings.xml matches registry name
User property is: buildx.password.
<skip> boolean - Skip upgrade
Default value is: false.
User property is: buildx.skip.
<username> String - The username for the registry if no entry in settings.xml matches registry name
User property is: buildx.username.

Parameter Details

<cli>

image build command line interface
  • Type: String
  • Required: No
  • User Property: buildx.cli
  • Default: docker

<password>

The password for the registry if no entry in settings.xml matches registry name
  • Type: String
  • Required: No
  • User Property: buildx.password

<registry>

Registry location; used to look up the credentials in settings.xml and locate the registry
  • Type: String
  • Required: Yes
  • User Property: buildx.registry

<skip>

Skip upgrade
  • Type: boolean
  • Required: No
  • User Property: buildx.skip
  • Default: false

<username>

The username for the registry if no entry in settings.xml matches registry name
  • Type: String
  • Required: No
  • User Property: buildx.username