aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 18 forks source link

[Ops] Build and Release Image: use ecr-public command when targeting ECR public endpoint and standard ecr otherwise. #274

Closed gmarciani closed 9 months ago

gmarciani commented 9 months ago

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?

  1. Used to deploy PCUI image in personal account
  2. 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.