| @@ -25,15 +25,18 @@ workflow: | |||||
| cache: | cache: | ||||
| GOCACHE: /root/.cache/go-build | GOCACHE: /root/.cache/go-build | ||||
| GOMODCACHE: /go/pkg/mod | GOMODCACHE: /go/pkg/mod | ||||
| task: docker_image_build@2.1.0 | |||||
| task: docker_image_build@1.6.0 | |||||
| input: | input: | ||||
| registry_address: '"registry.cn-hangzhou.aliyuncs.com"' | |||||
| docker_username: ((aly.docker_user)) | docker_username: ((aly.docker_user)) | ||||
| docker_password: ((aly.docker_password)) | docker_password: ((aly.docker_password)) | ||||
| image_name: '"registry.cn-hangzhou.aliyuncs.com/jcce/pcm-core-api"' | image_name: '"registry.cn-hangzhou.aliyuncs.com/jcce/pcm-core-api"' | ||||
| image_tag: '"dev-latest"' | image_tag: '"dev-latest"' | ||||
| docker_file: git_clone_0.git_path+"/Dockerfile" | |||||
| registry_address: '"registry.cn-hangzhou.aliyuncs.com"' | |||||
| docker_file: '"Dockerfile"' | |||||
| docker_build_path: '"."' | docker_build_path: '"."' | ||||
| workspace: git_clone_0.git_path | |||||
| image_clean: true | |||||
| image_push: true | |||||
| build_args: '""' | build_args: '""' | ||||
| needs: | needs: | ||||
| - git_clone_0 | - git_clone_0 | ||||