fabric8io/gofabric8

Cannot get fabric8 to deploy to a private artifactory repository

Opened this issue · 0 comments

I'm having some issues getting this to work properly.

I've attempted a number of different configurations, but my current impasse is this:

<plugin>
            <groupId>io.fabric8</groupId>
            <artifactId>docker-maven-plugin</artifactId>
            <version>0.26.0</version>


            <configuration>
                <registry>https://m********ry.jfrog.io/m********ry/docker-local/</registry>
                <verbose>true</verbose>
                <images>
                    <image>
                        <name>%a</name>
                        <build>
                            <dockerFile>${project.basedir}/docker/Dockerfile</dockerFile>

                        </build>
                    </image>
                </images>
                <authConfig>
                    <username>****</username>
                    <password>********</password>
                </authConfig>
            </configuration>

This leads to a build that

Caused by: io.fabric8.maven.docker.access.DockerAccessException: Unable to check image [https://mry..jfrog.io/mry./docker-local//exampleserviceimplementation:latest] : no such image: https:/mry.jfrog.io/mry./docker-local/exampleserviceimplementation:latest: invalid reference format (Bad Request: 400)

The repository path appears to be correct - If I manually upload an artefact, it's available at that base url, but cannot get the automatic deployment to work at all.

Appreciate any assistance.