mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
print context var
This commit is contained in:
parent
153f3b77ec
commit
370736cad9
6
.github/workflows/build-push.yml
vendored
6
.github/workflows/build-push.yml
vendored
|
@ -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: ${{ fromJSON(env.IMAGENAME) }}"
|
||||
echo "CURLCOMMAND=curl -X PUT -H \"content-type: application/json\" -H \"Cookie: KuboardUsername=admin; KuboardAccessKey=pwmfkfbbrxr4.mesxici5nbnfamxkjfe43kn33shba8nj\" -d ${{ fromJSON(env.IMAGENAME) }} \"https://plugin-kuboard.dify.dev/kuboard-api/cluster/dify-plugin-1/kind/CICDApi/admin/resource/updateImageTag\"" >> $GITHUB_ENV
|
||||
echo "name: ${{ 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: ${{ fromJSON(env.CURLCOMMAND) }}"
|
||||
echo "cmd: ${{ toJSON(env.CURLCOMMAND) }}"
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user