This commit is contained in:
Cian Johnston 2024-08-01 20:51:22 +01:00
parent 50ff7626c6
commit 1de4e4974c
No known key found for this signature in database

View file

@ -264,6 +264,8 @@ func (d *CachedImageDataSource) Read(ctx context.Context, req datasource.ReadReq
tflog.Error(ctx, "failed to create kaniko dir: "+err.Error())
}
// TODO: check if this is a "plan" or "apply", and only run envbuilder on "apply".
// This may require changing this to be a resource instead of a data source.
opts := eboptions.Options{
// These options are always required
CacheRepo: data.CacheRepo.ValueString(),