六十八、Git和容器CI/CD-GitHub Actions简介
2022-01-21 本文已影响0人
InsaneLoafer
Github Actions官网
官方学习网址 GitHub Learning Lab
Hello World学习课程网址GitHub Actions: Hello World | GitHub Learning Lab


官方学习网址 GitHub Learning Lab
Hello World练习
登陆GitHub账号进入课程首页点击开始即可

1. 创建Dockerfile


-
复制Dockerfile内容然后创建分支
2. 创建入口脚本



3. 创建action.yml

4. 创建workflow


-
查看Actions就可看到创建的WorkFlow
5. 执行Action



6. 查看日志


7. 进行pull request的merge

8. 学习完成后leave course就能删除对应的练习文件
