print context var

This commit is contained in:
snake 2024-11-12 18:23:02 +08:00 committed by GitHub
parent ede82299e1
commit 88611fe1aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: ${{ env.IMAGENAME }}"
echo "CURLCOMMAND=curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d ${{ env.IMAGENAME }} \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\"" >> $GITHUB_ENV
printf "name: ${{ env.IMAGENAME }}"
printf "CURLCOMMAND=curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d ${{ 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: ${{ env.CURLCOMMAND }}"
printf "cmd: ${{ env.CURLCOMMAND }}"
- name: Prepare
run: |