【发布时间】:2021-05-08 09:47:30
【问题描述】:
我创建了 AWS 代码构建管道。每当我推送到主分支时,它都会自动触发。 现在,我只想在 Dockerfile 中发生更改时触发它。以下是我的项目结构:
casestudy
|
|
|->Docker->Dockerfile
|-> Infrastructure -> infrastructure-files
如果我将某些内容推送到 Dockerfile,则不会触发构建。
请注意,如果我删除 file_path 过滤器,则每次推送主分支都会触发构建触发器。 我的代码放在 GIthub 上。
【问题讨论】:
标签: github webhooks aws-codebuild