in1
All checks were successful
CI / build (20.15.1) (push) Successful in 30m33s

This commit is contained in:
shanshanzhong 2025-09-26 17:33:59 -07:00
parent 38f64f770d
commit 5b7f778551

View File

@ -408,12 +408,12 @@ jobs:
if: env.BUILD_TARGET == 'admin' || env.BUILD_TARGET == 'user' || env.BUILD_TARGET == 'both' if: env.BUILD_TARGET == 'admin' || env.BUILD_TARGET == 'user' || env.BUILD_TARGET == 'both'
uses: appleboy/ssh-action@v1.0.3 uses: appleboy/ssh-action@v1.0.3
with: with:
host: ${{ secrets.HOST }} host: ${{ env.SSH_HOST }}
username: ${{ secrets.USERNAME }} username: ${{ env.SSH_USER }}
key: ${{ secrets.KEY }} password: ${{ env.SSH_PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ env.SSH_PORT }}
timeout: 60s timeout: 300s
command_timeout: 30s command_timeout: 600s
debug: true debug: true
script: | script: |
echo "=== SSH连接测试 ===" echo "=== SSH连接测试 ==="
@ -428,22 +428,12 @@ jobs:
if: env.BUILD_TARGET == 'admin' || env.BUILD_TARGET == 'both' if: env.BUILD_TARGET == 'admin' || env.BUILD_TARGET == 'both'
uses: appleboy/ssh-action@v1.0.3 uses: appleboy/ssh-action@v1.0.3
with: with:
host: ${{ secrets.HOST }} host: ${{ env.SSH_HOST }}
username: ${{ secrets.USERNAME }} username: ${{ env.SSH_USER }}
key: ${{ secrets.KEY }} password: ${{ env.SSH_PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ env.SSH_PORT }}
timeout: 300s timeout: 300s
command_timeout: 600s command_timeout: 600s
debug: true
use_insecure_cipher: false
cipher: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
fingerprint: ""
proxy_host: ""
proxy_port: ""
proxy_username: ""
proxy_password: ""
proxy_timeout: 30s
proxy_use_insecure_cipher: false
script: | script: |
echo "=== SSH变量调试信息 ===" echo "=== SSH变量调试信息 ==="
echo "DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }}" echo "DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }}"
@ -586,22 +576,13 @@ jobs:
if: env.BUILD_TARGET == 'user' || env.BUILD_TARGET == 'both' if: env.BUILD_TARGET == 'user' || env.BUILD_TARGET == 'both'
uses: appleboy/ssh-action@v1.0.3 uses: appleboy/ssh-action@v1.0.3
with: with:
host: ${{ secrets.HOST }} host: ${{ env.SSH_HOST }}
username: ${{ secrets.USERNAME }} username: ${{ env.SSH_USER }}
key: ${{ secrets.KEY }} password: ${{ env.SSH_PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ env.SSH_PORT }}
timeout: 300s timeout: 300s
command_timeout: 600s command_timeout: 600s
debug: true debug: true
use_insecure_cipher: false
cipher: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
fingerprint: ""
proxy_host: ""
proxy_port: ""
proxy_username: ""
proxy_password: ""
proxy_timeout: 30s
proxy_use_insecure_cipher: false
script: | script: |
echo "=== SSH变量调试信息 ===" echo "=== SSH变量调试信息 ==="
echo "DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }}" echo "DOCKER_REGISTRY: ${{ env.DOCKER_REGISTRY }}"