mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
print context var
This commit is contained in:
parent
d89ab877b7
commit
11fd02ae99
4
.github/workflows/build-push.yml
vendored
4
.github/workflows/build-push.yml
vendored
|
@ -49,10 +49,12 @@ jobs:
|
|||
- name: print one
|
||||
env:
|
||||
IMAGEHASH: ${{ github.sha }}
|
||||
UPDATECMD: "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:{0}\"}} \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\""
|
||||
UPDATECMD: "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\""
|
||||
RUNCMD: ${UPDATECMD/yourNewVersion/$IMAGEHASH}
|
||||
run: |
|
||||
echo "Commit ID: $IMAGEHASH"
|
||||
echo "CMD STR: $UPDATECMD"
|
||||
echo "RUNCMD STR: $RUNCMD"
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user