See the Developing guide to get started with building and running the OpenTelemetry Collector with the extras in this repository.
Use docker buildx to build and push the docker image.
docker buildx build --platform linux/amd64,linux/arm64 --push -t 165463520094.dkr.ecr.ap-northeast-1.amazonaws.com/ops-reliability/otel-collector:<tag> .