chore(ci): fix ephemeral env null issue number (v2) (#32221)

This commit is contained in:
Daniel Vaz Gaspar 2025-02-11 14:32:01 +00:00 committed by GitHub
parent 60424c4ccd
commit 31d6f5a639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ jobs:
- name: Check target image exists in ECR
id: check-image
continue-on-error: true
PR_NUMBER: ${{ github.event.inputs.issue_number || github.event.pull_request.number }}
env:
PR_NUMBER: ${{ github.event.inputs.issue_number || github.event.pull_request.number }}
run: |
aws ecr describe-images \
--registry-id $(echo "${{ steps.login-ecr.outputs.registry }}" | grep -Eo "^[0-9]+") \