diff --git a/.drone.yml b/.drone.yml index 1ef848c..bc7106d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,6 +31,9 @@ steps: dockerfile: Dockerfile registry: https://registry.cn-hangzhou.aliyuncs.com tags: ${DRONE_BUILD_NUMBER} + commands: +# - docker build -t registry.cn-hangzhou.aliyuncs.com/hvp/dpr:7 . + - docker save -o registry.cn-hangzhou.aliyuncs.com/huvipg/test-drone:${DRONE_BUILD_NUMBER} when: target: [ "" ] diff --git a/main.go b/main.go index d037315..f2b7ab2 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ func main() { r.GET("/", func(c *gin.Context) { // 通过请求上下文对象Context, 直接往客户端返回一个json c.JSON(200, gin.H{ - "message": "pong1", + "message": "pong9", }) })