Maven Spring Boot Cannot Push Docker Image Maven Spring Boot Cannot Push Docker Image docker docker

Maven Spring Boot Cannot Push Docker Image


In case anyone else finds this, the problem ended up being a typo in the maven plugin configuration. I was using <token> instead of <password>. Below is the correct XML that works:

                <docker>                    <publishRegistry>                        <username>abc</username>                        <password>mytoken</password>                        <url>https://ghcr.io</url>                    </publishRegistry>                </docker>