You can use your docker images hosted on Amazon Elastic Container Registry (ECR).
You can use your public images without the need to set any configuration. In order to push private images to ECR, you need to grant the build access.
In order to push docker images to ECR, please follow this guide for configuring a registry to use with Kaniko.
If you decide to use the secret and config-map approach, your connection should be:
connections: - name: docker-registry kind: registry description: "aws docker repository" schema: url: aws_account_id.dkr.ecr.region.amazonaws.com secret: name: aws-secret mountPath: /root/.aws/ configMap: name: docker-config mountPath: /kaniko/.docker/