An image to automatically update and publish Docker images by comparing SBOM changes
10K+
A toolkit to automatically sign, update and publish Docker images by comparing SBOM changes. It contains a reusable GitLab CI template and a specific Docker image with usefull tools:
The image is also automatically signed, updated and published:
Docker latest tag is 29.5.3-001, 29.5, 29 and contains:
| Name | Version | Type |
|---|---|---|
| cosign | 2.6.3-r1 | apk |
| curl | 8.19.0-r0 | apk |
| git | 2.52.0-r0 | apk |
| github.com/go-task/task/v3 | v3.51.1 | go-module |
| jq | 1.8.1-r0 | apk |
| skopeo | 1.20.0-r8 | apk |
| syft | 1.38.0-r6 | apk |
Details are updated on Dockerhub Overview page when an image is published.
The Docker tag is defined by the Docker version used and an increment to differentiate build with the same Docker version:
<docker_version>-<increment>
Example: 20.10.22-003
Cosign public key:
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----
The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub.
To verify an image:
cosign verify --key cosign.pub $IMAGE_URI
To verify and get the SBOM attestation:
cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.
Content type
Image
Digest
sha256:ff3a7dd19…
Size
229.3 MB
Last updated
about 2 months ago
docker pull jfxs/image-factory