File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,29 @@ jobs:
8282 - name : Set up Docker Buildx
8383 uses : docker/setup-buildx-action@v3
8484
85+ - name : Debug secrets (only for troubleshooting)
86+ run : |
87+ echo "Checking if secrets are set..."
88+ if [ -n "${{ secrets.CT_ALIYUN_USER }}" ]; then
89+ echo "CT_ALIYUN_USER is set (length: ${#CT_ALIYUN_USER})"
90+ else
91+ echo "CT_ALIYUN_USER is NOT set"
92+ fi
93+ if [ -n "${{ secrets.CT_ALIYUN_PASS }}" ]; then
94+ echo "CT_ALIYUN_PASS is set (length: ${#CT_ALIYUN_PASS})"
95+ else
96+ echo "CT_ALIYUN_PASS is NOT set"
97+ fi
98+ echo "Registry: ${{ env.REGISTRY }}"
99+
85100 - name : Login to Aliyun Container Registry
86101 uses : docker/login-action@v3
87102 with :
88103 registry : ${{ env.REGISTRY }}
89104 username : ${{ secrets.CT_ALIYUN_USER }}
90105 password : ${{ secrets.CT_ALIYUN_PASS }}
106+ ecr : auto
107+ logout : true
91108
92109 - name : Build and push backend image
93110 uses : docker/build-push-action@v5
You can’t perform that action at this time.
0 commit comments