v1
update to node 16
ecr input to specify whether the given registry is ECR
Use `core.getBooleanInput`