From c6626778d287cb269a4283b2fc0a63971604f865 Mon Sep 17 00:00:00 2001 From: icechen Date: Tue, 4 Jan 2022 00:28:26 +0800 Subject: [PATCH] update --- go_handler/go_handler_template/go_api_production_pipeline.go | 2 +- go_handler/go_handler_template/go_api_test_pipeline.go | 2 +- .../go_handler_template/go_service_production_pipeline.go | 2 +- go_handler/go_handler_template/go_service_test_pipeline.go | 2 +- 4 files changed, 4 insertions(+), 4 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 81ab626..f519564 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -15,7 +15,7 @@ steps: from_secret: reg_password repo: reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} registry: reg.icechen.cn - tags: + tags: - ${DRONE_TAG} - latest 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 de3a6e5..3e39402 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -15,7 +15,7 @@ steps: from_secret: reg_password repo: reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} registry: reg.icechen.cn - tags: + tags: - ${DRONE_COMMIT:0:8} - latest 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 755d9e5..86991f2 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -15,7 +15,7 @@ steps: from_secret: reg_password repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }} registry: reg.icechen.cn - tags: + tags: - ${DRONE_TAG} - latest 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 356ce7e..40aae13 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -15,7 +15,7 @@ steps: from_secret: reg_password repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }} registry: reg.icechen.cn - tags: + tags: - ${DRONE_COMMIT:0:8} - latest dockerfile: ./{{ .Root }}/Dockerfile