Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

cdprete/github_spring_boot_issue_29756

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To reproduce the issue, execute the following steps in order:

  1. mvn clean package
    Outcome: the image is built correctly, but not pushed.
    Also, the following logs are shown:

    [WARNING] The property 'docker.credentials.username' is not set or it's blank, therefore no image will be pushed.
    [WARNING] The property 'docker.credentials.password' is not set or it's blank, therefore no image will be pushed.

  2. mvn clean package -Ddocker.credentials.username=something
    Outcome: the following logs are shown

    [WARNING] The property 'docker.credentials.password' is not set or it's blank, therefore no image will be pushed.

    and the build failing with

    [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.6.3:build-image (build-image) on project demo: Execution build-image of goal org.springframework.boot:spring-boot-maven-plugin:2.6.3:build-image failed: Invalid Docker publish registry configuration, either token or username/password must be provided

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages