Skip to content

Commit 6085b46

Browse files
committed
debug: add logging to check ECR_REPO secret value
1 parent 5214ace commit 6085b46

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/artifacts.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,18 @@ jobs:
6666
ECR_REPO: ${{ secrets.ECR_REPO }}
6767
INPUT_IMAGE_NAME: ${{ inputs.image_name }}
6868
run: |
69+
echo "DEBUG: INPUT_IMAGE_NAME=${INPUT_IMAGE_NAME}"
70+
echo "DEBUG: ECR_REPO is set: $([[ -n "${ECR_REPO}" ]] && echo "yes" || echo "no")"
71+
6972
if [[ -n "${INPUT_IMAGE_NAME}" ]]; then
7073
IMAGE_NAME="${INPUT_IMAGE_NAME}"
7174
elif [[ -n "${ECR_REPO}" ]]; then
7275
IMAGE_NAME="${ECR_REPO}"
7376
else
7477
IMAGE_NAME="casdoor"
7578
fi
79+
80+
echo "DEBUG: Final IMAGE_NAME=${IMAGE_NAME}"
7681
echo "value=${IMAGE_NAME}" >> "$GITHUB_OUTPUT"
7782
7883
- name: Get Git Hash

0 commit comments

Comments
 (0)