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: