We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ded3b commit e83005fCopy full SHA for e83005f
main.go
@@ -143,7 +143,14 @@ func scan(path string, finisher func(chan *build)) {
143
dir := filepath.Dir(file)
144
name := filepath.Base(dir)
145
filename := filepath.Base(file)
146
- if _, found := changes[dir]; (!c.DiffOnly || found) && err == nil && filename == "Dockerfile" {
+
147
+ _, found := changes[dir]
148
+ if len(changes) == 0 {
149
+ log.Warn("No changes found, rebuilding all images.")
150
+ found = true
151
+ }
152
153
+ if (!c.DiffOnly || found) && err == nil && filename == "Dockerfile" {
154
handleMatrix(name, builds)
155
}
156
return nil
0 commit comments