diff --git a/.github/actions/build-and-push-to-quay/action.yml b/.github/actions/build-and-push-to-quay/action.yml index 4dd9cad..6a0e58a 100644 --- a/.github/actions/build-and-push-to-quay/action.yml +++ b/.github/actions/build-and-push-to-quay/action.yml @@ -58,7 +58,6 @@ inputs: ecr_registry: description: 'The AWS ECR Registry ARN' required: true - default: 484221059514.dkr.ecr.us-east-1.amazonaws.com outputs: {} runs: using: "composite" @@ -174,15 +173,11 @@ runs: if: inputs.image_name == 'standard-cnpg' || inputs.image_name == 'ml-cnpg' || inputs.image_name == 'dw-cnpg' uses: unfor19/install-aws-cli-action@v1 - - name: Debug AWS STS Identity - if: inputs.image_name == 'standard-cnpg' || inputs.image_name == 'ml-cnpg' || inputs.image_name == 'dw-cnpg' - shell: bash - run: aws sts get-caller-identity - - name: Push to ECR if: inputs.image_name == 'standard-cnpg' || inputs.image_name == 'ml-cnpg' || inputs.image_name == 'dw-cnpg' shell: bash run: | + aws sts get-caller-identity set -xe IFS=' ' read -ra TAG_ARRAY <<< "${{ steps.tags.outputs.TAGS }}" for tag in "${TAG_ARRAY[@]}"; do