Compare commits

..

1 Commits

Author SHA1 Message Date
Tapan Karangiya f73db4216f Update pipeline drone-kaniko-harness 2026-01-20 13:30:12 +05:30
2 changed files with 4 additions and 10 deletions
+3 -1
View File
@@ -58,4 +58,6 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
go 1.24.11
go 1.23.0
toolchain go1.23.8
+1 -9
View File
@@ -227,15 +227,7 @@ func (p Plugin) Exec() error {
}
if _, err := os.Stat(p.Build.Dockerfile); os.IsNotExist(err) {
// Get absolute path for better error message. If path is empty, this will
// return the current working directory, showing where the plugin looked.
absPath, absErr := filepath.Abs(p.Build.Dockerfile)
if absErr != nil {
absPath = p.Build.Dockerfile
}
return fmt.Errorf("dockerfile does not exist at path: %s", absPath)
return fmt.Errorf("dockerfile does not exist at path: %s", p.Build.Dockerfile)
}
var tags = p.Build.Tags