Browse Source

refactor: .devops/基于gitlink构建.yml

gitlink
songjc jianmu 8 months ago
parent
commit
a1c85b1aef
1 changed files with 4 additions and 21 deletions
  1. +4
    -21
      .devops/基于gitlink构建.yml

+ 4
- 21
.devops/基于gitlink构建.yml View File

@@ -40,7 +40,7 @@ workflow:
image_push: true
build_args: '"TARGET=scannerimage"'
needs:
- docker_image_build_4
- shell_0
- ref: docker_image_build_1
name: coor镜像构建
cache:
@@ -59,7 +59,7 @@ workflow:
image_push: true
build_args: '"TARGET=coorimage"'
needs:
- docker_image_build_4
- shell_0
- ref: docker_image_build_3
name: client镜像构建
cache:
@@ -78,7 +78,7 @@ workflow:
image_push: true
build_args: '"TARGET=clientimage"'
needs:
- docker_image_build_4
- shell_0
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
@@ -116,7 +116,7 @@ workflow:
image_push: true
build_args: '"TARGET=agentimage"'
needs:
- docker_image_build_4
- shell_0
- ref: git_clone_1
name: common_clone
task: git_clone@1.2.9
@@ -137,21 +137,4 @@ workflow:
needs:
- git_clone_0
- git_clone_1
- ref: docker_image_build_4
name: build
cache:
GOCACHE: /root/.cache/go-build
GOMODCACHE: /go/pkg/mod
task: docker_image_build@1.6.0
input:
image_name: '"storage-builder"'
image_tag: '"latest"'
registry_address: '""'
docker_file: '"Dockerfile"'
docker_build_path: '"."'
workspace: git_clone_0.git_path
image_push: false
build_args: '""'
needs:
- shell_0


Loading…
Cancel
Save