File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,19 @@ An example `policy.json`:
15
15
"rules" : [
16
16
{
17
17
"action" : " CONVERT" ,
18
- "source" : {
19
- "type" : " docker-image" ,
20
- "identifier" : " docker.io/library/alpine:latest"
18
+ "selector" : {
19
+ "identifier" : " docker-image://docker.io/library/alpine:latest"
21
20
},
22
- "destination " : {
21
+ "updates " : {
23
22
"identifier" : " docker-image://docker.io/library/alpine:latest@sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454"
24
23
}
25
24
},
26
25
{
27
26
"action" : " CONVERT" ,
28
- "source" : {
29
- "type" : " http" ,
27
+ "selector" : {
30
28
"identifier" : " https://raw.githubusercontent.com/moby/buildkit/v0.10.1/README.md"
31
29
},
32
- "destination " : {
30
+ "updates " : {
33
31
"attrs" : {"http.checksum" : " sha256:6e4b94fc270e708e1068be28bd3551dc6917a4fc5a61293d51bb36e6b75c4b53" }
34
32
}
35
33
}
You can’t perform that action at this time.
0 commit comments