diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index cec4fc927c..249fcd28b6 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -56,11 +56,11 @@ jobs: echo "IMAGENAME={\"kind\":\"deployments\",\"namespace\":\"dify\",\"name\":\"dify-api\",\"images\":{\"langgenius/dify-api\":\"langgenius/dify-api:$IMAGEHASH\"}}" >> $GITHUB_ENV - name: print three run: | - echo "name: ${{ toJson(env.IMAGENAME) }}" + printf '%s\n' ${{ toJson(env.IMAGENAME) }} echo "CURLCOMMAND=curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d ${{ toJSON(env.IMAGENAME) }} \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\"" >> $GITHUB_ENV - name: print four run: | - echo "cmd: ${{ toJSON(env.CURLCOMMAND) }}" + printf '%s\n' ${{ toJSON(env.CURLCOMMAND) }} - name: Prepare run: |