When configurating the fabric8 maven plugin to push docker images to AWS ECR, we get an error that the "alpine:latest" image cannot be pulled.
Here the relevant part from the maven pom:
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<registry>your_aws_id.dkr.ecr.eu-central-1.amazonaws.com</registry>
<images>
<image>
<name>%a:%v-%t</name>
<build>
<from>alpine:latest</from>
<maintainer>a_company_or_person</maintainer>
...
</build>
</image>
</images>
</configuration>
</plugin>
Is it possible to configure the maven fabric8 plugin to push docker images to AWS ECR while pulling from default registry?