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 f5f8046..075de4f 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -16,7 +16,7 @@ steps: from_secret: reg_username password: from_secret: reg_password - repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }} + repo: reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} registry: reg.icechen.cn tags: ${DRONE_COMMIT:0:8} dockerfile: ./{{ .Root }}/Dockerfile 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 bc7c69c..431ff0a 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -16,7 +16,7 @@ steps: from_secret: reg_username password: from_secret: reg_password - repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }} + repo: reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} registry: reg.icechen.cn tags: ${DRONE_COMMIT:0:8} dockerfile: ./{{ .Root }}/Dockerfile 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 3f48d0d..9f73e25 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -16,7 +16,7 @@ steps: from_secret: reg_username password: from_secret: reg_password - repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }} + repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }} registry: reg.icechen.cn tags: ${DRONE_COMMIT:0:8} dockerfile: ./{{ .Root }}/Dockerfile 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 aa90118..534bd4f 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -16,7 +16,7 @@ steps: from_secret: reg_username password: from_secret: reg_password - repo: reg.icechen.cn/{{ .NameSpace }}/{{ .Name }} + repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }} registry: reg.icechen.cn tags: ${DRONE_COMMIT:0:8} dockerfile: ./{{ .Root }}/Dockerfile