mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-22 10:25:04 +02:00
add a new method to indicate if the command provides files to snapshot
This commit is contained in:
@@ -32,6 +32,10 @@ func (b *BaseCommand) FilesToSnapshot() []string {
|
||||
return []string{}
|
||||
}
|
||||
|
||||
func (b *BaseCommand) ProvidesFilesToSnapshot() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (b *BaseCommand) FilesUsedFromContext(_ *v1.Config, _ *dockerfile.BuildArgs) ([]string, error) {
|
||||
return []string{}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user