mirror of
https://github.com/langgenius/dify.git
synced 2024-11-15 19:22:36 +08:00
cd for plugin env
This commit is contained in:
parent
07def4587c
commit
3aa679b061
2
.github/workflows/build-push.yml
vendored
2
.github/workflows/build-push.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user