From 5e3059fb546573ecc1739c81605011b2ea9688bd Mon Sep 17 00:00:00 2001 From: icechen Date: Mon, 10 Jan 2022 20:25:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go_handler/go_handler_template/go_api_production_pipeline.go | 4 ++-- go_handler/go_handler_template/go_api_test_pipeline.go | 4 ++-- .../go_handler_template/go_service_production_pipeline.go | 4 ++-- go_handler/go_handler_template/go_service_test_pipeline.go | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go_handler/go_handler_template/go_api_production_pipeline.go b/go_handler/go_handler_template/go_api_production_pipeline.go index 593fdb0..c1ef897 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -12,8 +12,8 @@ steps: - name: docker path: /var/run/docker.sock settings: - username: {{ .Reg.Password }} - password: {{ .Reg.Registry }} + username: {{ .Reg.Username }} + password: {{ .Reg.Password }} repo: {{ .Reg.Registry }}/{{ .NameSpace }}/api-{{ .Name }} registry: {{ .Reg.Registry }} tags: diff --git a/go_handler/go_handler_template/go_api_test_pipeline.go b/go_handler/go_handler_template/go_api_test_pipeline.go index 86ee939..b80dc87 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -12,8 +12,8 @@ steps: - name: docker path: /var/run/docker.sock settings: - username: {{ .Reg.Password }} - password: {{ .Reg.Registry }} + username: {{ .Reg.Username }} + password: {{ .Reg.Password }} repo: {{ .Reg.Registry }}/{{ .NameSpace }}/api-{{ .Name }} registry: {{ .Reg.Registry }} tags: diff --git a/go_handler/go_handler_template/go_service_production_pipeline.go b/go_handler/go_handler_template/go_service_production_pipeline.go index a4a8d24..6c40ce0 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -12,8 +12,8 @@ steps: - name: docker path: /var/run/docker.sock settings: - username: {{ .Reg.Password }} - password: {{ .Reg.Registry }} + username: {{ .Reg.Username }} + password: {{ .Reg.Password }} repo: {{ .Reg.Registry }}/{{ .NameSpace }}/service-{{ .Name }} registry: {{ .Reg.Registry }} tags: diff --git a/go_handler/go_handler_template/go_service_test_pipeline.go b/go_handler/go_handler_template/go_service_test_pipeline.go index 4b1880d..3e3bcc7 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -12,8 +12,8 @@ steps: - name: docker path: /var/run/docker.sock settings: - username: {{ .Reg.Password }} - password: {{ .Reg.Registry }} + username: {{ .Reg.Username }} + password: {{ .Reg.Password }} repo: {{ .Reg.Registry }}/{{ .NameSpace }}/service-{{ .Name }} registry: {{ .Reg.Registry }} tags: