Have Concourse only build new docker containers on file diff not on commit Have Concourse only build new docker containers on file diff not on commit docker docker

Have Concourse only build new docker containers on file diff not on commit


your resource can be configured to trigger new builds only with changes to specific files in the repo:

- name: resource-docker  type: git  source:    uri: https://github.com/$MYUSER/$MYREPO.git    branch: master    paths:      - <path/to/Dockerfile/or/whatever>      - <path/to/other/triggering/diffs>


In case Quintana's answer isn't totally clear, the idea is you can define multiple Git resources which point at the same Git repository. Each resource can use paths / ignore_paths to specify which filed to look at.