Skip to content

Commit 567a994

Browse files
authored
Merge pull request moby#4169 from tonistiigi/v0.12.2-picks
[v0.12] v0.12.2 cherry-picks
2 parents 2a6aace + 6864757 commit 567a994

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/annotations.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@ write to the following `<type>`s:
4343
- The `manifest` (the default, as above)
4444
- The `manifest-descriptor`
4545
- This adds the annotation into the image index's descriptor for the manifest
46-
- (discarded if the output does not contain an image index)
4746
- The `index`
4847
- This adds the annotation into the image index root
49-
- (discarded if the output does not contain an image index)
48+
- If the exporter does not produce an image index, the build will fail.
5049
- The `index-descriptor`
5150
- This adds the annotation into the OCI layout's descriptor for the index
52-
- (discarded if the output does not contain an OCI layout)
51+
- If the exporter does not produce an image index, the build will fail.
5352

5453
For example, if you want to add the annotation at the image index level, so
5554
that the annotation is shared between all architectures, you can instead:

docs/buildkitd.toml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ insecure-entitlements = [ "network.host", "security.insecure" ]
6464

6565
[[worker.oci.gcpolicy]]
6666
# keepBytes can be an integer number of bytes (e.g. 512000000), a string
67-
# with a unit (e.g. "512MB"), or a string percentage of available disk
67+
# with a unit (e.g. "512MB"), or a string percentage of the total disk
6868
# space (e.g. "10%")
6969
keepBytes = "512MB"
7070
# keepDuration can be an integer number of seconds (e.g. 172800), or a

util/progress/multiwriter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (ps *MultiWriter) Write(id string, v interface{}) error {
6565
Sys: v,
6666
meta: ps.meta,
6767
}
68-
return ps.WriteRawProgress(p)
68+
return ps.writeRawProgress(p)
6969
}
7070

7171
func (ps *MultiWriter) WriteRawProgress(p *Progress) error {

0 commit comments

Comments
 (0)