diff --git a/.github/workflows/_build_image.yml b/.github/workflows/_build_image.yml index d29f1f62..6b6c4994 100644 --- a/.github/workflows/_build_image.yml +++ b/.github/workflows/_build_image.yml @@ -53,10 +53,13 @@ jobs: id: repo run: | AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text) - echo "ecr_repo_url=${AWS_ACCOUNT_ID}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ inputs.ecr_repo }}" >> "$GITHUB_OUTPUT" - - name: GITHUB_OUTPUT - run: echo $GITHUB_OUTPUT + ECR_REPO_URL="${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${{ inputs.ecr_repo }}" + + echo "Resolved ECR repo URL (local var):" + echo "$ECR_REPO_URL" + + echo "ecr_repo_url=$ECR_REPO_URL" >> "$GITHUB_OUTPUT" - name: Build & push image run: |