Build and Release Image: use ecr-public command when targeting ECR public endpoint and standard ecr otherwise.
With this change we can reuse the same script used to deploy PCUI official image to deploy a test image in our personal account.
How Has This Been Tested?
Used to deploy PCUI image in personal account
Verified that the variable ECR_COMMAND is populated as expected when targeting public ECR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Changes
Build and Release Image: use ecr-public command when targeting ECR public endpoint and standard ecr otherwise. With this change we can reuse the same script used to deploy PCUI official image to deploy a test image in our personal account.
How Has This Been Tested?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.