If you have permission to assume role/DockerImageWriter in the project and you have AWS credentials configured in in ~/.aws/credentials, you can run: bazel run //push to push the image to ECR.