From 32b8efcc73146d4e523b661e9b85d700b11072db Mon Sep 17 00:00:00 2001 From: snake <164011252@qq.com> Date: Wed, 13 Nov 2024 11:28:31 +0800 Subject: [PATCH] cd for plugin env --- .github/workflows/build-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index f394807132..775cea5864 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -146,7 +146,7 @@ jobs: - name: deploy pod in plugin env env: IMAGEHASH: ${{ github.sha }} - UPDATECMD: "curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d \"{\"kind\":\"deployments\",\"namespace\":\"dify\",\"name\":\"dify-api\",\"images\":{\"langgenius/dify-api\":\"langgenius/dify-api:yourNewVersion\"}}\" \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\"" + UPDATECMD: "curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d '{\"kind\":\"deployments\",\"namespace\":\"dify\",\"name\":\"dify-api\",\"images\":{\"langgenius/dify-api\":\"langgenius/dify-api:yourNewVersion\"}}' \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\"" run: | echo "Commit ID: $IMAGEHASH" echo "CMD STR: $UPDATECMD"