From df0ca8cd97fbdffa992687e39952980868634afa Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Thu, 6 Mar 2025 17:00:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20.devops/=E5=9F=BA=E4=BA=8Egitlink?= =?UTF-8?q?=E6=9E=84=E5=BB=BA.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/基于gitlink构建.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.devops/基于gitlink构建.yml b/.devops/基于gitlink构建.yml index 41fffcc..0f267ec 100644 --- a/.devops/基于gitlink构建.yml +++ b/.devops/基于gitlink构建.yml @@ -36,7 +36,7 @@ workflow: registry_address: '"123.60.146.162:5010"' docker_file: '"Dockerfile"' docker_build_path: '"."' - workspace: '"."' + workspace: git_clone_0.git_path image_push: true build_args: '""' needs: @@ -55,7 +55,7 @@ workflow: registry_address: '"123.60.146.162:5010"' docker_file: '"Dockerfile"' docker_build_path: '"."' - workspace: '"."' + workspace: git_clone_0.git_path image_push: true build_args: '""' needs: @@ -74,7 +74,7 @@ workflow: registry_address: '"123.60.146.162:5010"' docker_file: '"Dockerfile"' docker_build_path: '"."' - workspace: '"."' + workspace: git_clone_0.git_path image_push: true build_args: '""' needs: @@ -83,9 +83,10 @@ workflow: name: ssh执行命令 task: ssh_cmd@1.1.1 input: - ssh_ip: '""' + ssh_private_key: ((SSH.pcm1)) + ssh_ip: '"123.60.146.162"' ssh_port: '"22"' - ssh_user: '"root"' + ssh_user: '"pcm"' ssh_cmd: '""' needs: - docker_image_build_2 @@ -111,7 +112,7 @@ workflow: registry_address: '"123.60.146.162:5010"' docker_file: '"Dockerfile"' docker_build_path: '"."' - workspace: '"."' + workspace: git_clone_0.git_path image_push: true build_args: '""' needs: