gitee 流水线部署go程序

1、在gitee上新建gotest项目,为了方便演示,main.go代码简略如下

package main

func main(){

println("hello world")

}

2、编写makefile文件

image

3、创建流水线,选择go项目

image

4、修改部署规则

image

5、测试运行,看到最后输出了go程序的输出 hello world,说明部署成功

image

posted @ 2023-05-27 15:54  lukeme  阅读(124)  评论(0)    收藏  举报