Merge pull request #826 from tonistiigi/multi-node-iidfile

pull/818/head
Tõnis Tiigi 3 years ago committed by GitHub
commit 44e180b26e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -732,7 +732,9 @@ func Build(ctx context.Context, drivers []DriverInfo, opt map[string]Options, do
return err return err
} }
if opt.ImageIDFile != "" { if opt.ImageIDFile != "" {
return ioutil.WriteFile(opt.ImageIDFile, []byte(desc.Digest), 0644) if err := ioutil.WriteFile(opt.ImageIDFile, []byte(desc.Digest), 0644); err != nil {
return err
}
} }
itpush := imagetools.New(imagetools.Opt{ itpush := imagetools.New(imagetools.Opt{

Loading…
Cancel
Save