介绍
有一些保留的关键字是不允许作为任务(job)的名字:
image 使用Docker的镜像来作为构建容器
services 使用Docker服务
stages Define build stages
types Alias for stages (deprecated)
before_script Define commands that run before each job's script
after_script Define commands that run after each job's script
variables Define build variables
cache Define list of files that should be cached between subsequent runs
参考
本文为原创,如果您当前访问的域名不是surenpi.com,请访问“素人派”。
查看原文:http://surenpi.com/2017/08/14/gitlab-ci/