Commit a547f09
committed
[build] add attestations to Docker image
This PR adds the possibility to add the software bill or materials (SBOM) and provenance attestations to the Docker images built by exist-docker.
mvn clean package \
-Pdocker,skip-build-dist-archives \
-Ddocker.sbom=true -Ddocker.provenance=true
NOTE: In order to build multiplatform images with attestations you will have to use containerd for storage.
This is why these attestations are not added by default.1 parent 9057c82 commit a547f09
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
237 | 243 | | |
238 | 244 | | |
239 | 245 | | |
| |||
251 | 257 | | |
252 | 258 | | |
253 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
254 | 264 | | |
255 | 265 | | |
256 | 266 | | |
| |||
0 commit comments