|
53 | 53 | ' temp/index.json > temp/index.json.new
|
54 | 54 | mv temp/index.json.new temp/index.json
|
55 | 55 | # </build>
|
| 56 | +# <sbom_scan> |
| 57 | +docker buildx build --progress=plain \ |
| 58 | + --provenance=false \ |
| 59 | + --sbom=generator="$BASHBREW_BUILDKIT_SBOM_GENERATOR" \ |
| 60 | + --tag 'docker:24.0.7-cli' \ |
| 61 | + --tag 'docker:24.0-cli' \ |
| 62 | + --tag 'docker:24-cli' \ |
| 63 | + --tag 'docker:cli' \ |
| 64 | + --tag 'docker:24.0.7-cli-alpine3.18' \ |
| 65 | + --tag 'amd64/docker:24.0.7-cli' \ |
| 66 | + --tag 'amd64/docker:24.0-cli' \ |
| 67 | + --tag 'amd64/docker:24-cli' \ |
| 68 | + --tag 'amd64/docker:cli' \ |
| 69 | + --tag 'amd64/docker:24.0.7-cli-alpine3.18' \ |
| 70 | + --tag 'oisupport/staging-amd64:4b199ac326c74b3058a147e14f553af9e8e1659abc29bd3e82c9c9807b66ee43' \ |
| 71 | + --output '"type=oci","tar=false","dest=sbom"' \ |
| 72 | + - <<<'FROM oisupport/staging-amd64:4b199ac326c74b3058a147e14f553af9e8e1659abc29bd3e82c9c9807b66ee43@sha256:0432a4d379794811b4a2e01d0d3e67a9bcf95d6c2bf71545f03bce3f1d60f401' |
| 73 | +# </sbom_scan> |
56 | 74 | # <push>
|
57 | 75 | crane push temp 'oisupport/staging-amd64:4b199ac326c74b3058a147e14f553af9e8e1659abc29bd3e82c9c9807b66ee43'
|
58 | 76 | rm -rf temp
|
@@ -88,6 +106,30 @@ SOURCE_DATE_EPOCH=1700741054 \
|
88 | 106 | --file 'Dockerfile' \
|
89 | 107 | 'https://github.com/docker-library/docker.git#6d541d27b5dd12639e5a33a675ebca04d3837d74:24/windows/windowsservercore-ltsc2022'
|
90 | 108 | # </build>
|
| 109 | +# <sbom_scan> |
| 110 | +docker buildx build --progress=plain \ |
| 111 | + --provenance=false \ |
| 112 | + --sbom=generator="$BASHBREW_BUILDKIT_SBOM_GENERATOR" \ |
| 113 | + --tag 'docker:24.0.7-windowsservercore-ltsc2022' \ |
| 114 | + --tag 'docker:24.0-windowsservercore-ltsc2022' \ |
| 115 | + --tag 'docker:24-windowsservercore-ltsc2022' \ |
| 116 | + --tag 'docker:windowsservercore-ltsc2022' \ |
| 117 | + --tag 'docker:24.0.7-windowsservercore' \ |
| 118 | + --tag 'docker:24.0-windowsservercore' \ |
| 119 | + --tag 'docker:24-windowsservercore' \ |
| 120 | + --tag 'docker:windowsservercore' \ |
| 121 | + --tag 'winamd64/docker:24.0.7-windowsservercore-ltsc2022' \ |
| 122 | + --tag 'winamd64/docker:24.0-windowsservercore-ltsc2022' \ |
| 123 | + --tag 'winamd64/docker:24-windowsservercore-ltsc2022' \ |
| 124 | + --tag 'winamd64/docker:windowsservercore-ltsc2022' \ |
| 125 | + --tag 'winamd64/docker:24.0.7-windowsservercore' \ |
| 126 | + --tag 'winamd64/docker:24.0-windowsservercore' \ |
| 127 | + --tag 'winamd64/docker:24-windowsservercore' \ |
| 128 | + --tag 'winamd64/docker:windowsservercore' \ |
| 129 | + --tag 'oisupport/staging-windows-amd64:9b405cfa5b88ba65121aabdb95ae90fd2e1fee7582174de82ae861613ae3072e' \ |
| 130 | + --output '"type=oci","tar=false","dest=sbom"' \ |
| 131 | + - <<<'FROM oisupport/staging-windows-amd64:9b405cfa5b88ba65121aabdb95ae90fd2e1fee7582174de82ae861613ae3072e@sha256:69aba7120e3f4014bfa80f4eae2cfc9698dcb6b8a5d64daf06de4039a19846ce' |
| 132 | +# </sbom_scan> |
91 | 133 | # <push>
|
92 | 134 | docker push 'oisupport/staging-windows-amd64:9b405cfa5b88ba65121aabdb95ae90fd2e1fee7582174de82ae861613ae3072e'
|
93 | 135 | # </push>
|
@@ -174,6 +216,34 @@ done
|
174 | 216 | jq -r --argjson sbomManifestDesc "$sbomManifestDesc" '.manifests += [ $sbomManifestDesc ]' temp/index.json > temp/index.json.new
|
175 | 217 | mv temp/index.json.new temp/index.json
|
176 | 218 | # </build>
|
| 219 | +# <sbom_scan> |
| 220 | +docker buildx build --progress=plain \ |
| 221 | + --provenance=false \ |
| 222 | + --sbom=generator="$BASHBREW_BUILDKIT_SBOM_GENERATOR" \ |
| 223 | + --tag 'busybox:1.36.1' \ |
| 224 | + --tag 'busybox:1.36' \ |
| 225 | + --tag 'busybox:1' \ |
| 226 | + --tag 'busybox:stable' \ |
| 227 | + --tag 'busybox:latest' \ |
| 228 | + --tag 'busybox:1.36.1-glibc' \ |
| 229 | + --tag 'busybox:1.36-glibc' \ |
| 230 | + --tag 'busybox:1-glibc' \ |
| 231 | + --tag 'busybox:stable-glibc' \ |
| 232 | + --tag 'busybox:glibc' \ |
| 233 | + --tag 'amd64/busybox:1.36.1' \ |
| 234 | + --tag 'amd64/busybox:1.36' \ |
| 235 | + --tag 'amd64/busybox:1' \ |
| 236 | + --tag 'amd64/busybox:stable' \ |
| 237 | + --tag 'amd64/busybox:latest' \ |
| 238 | + --tag 'amd64/busybox:1.36.1-glibc' \ |
| 239 | + --tag 'amd64/busybox:1.36-glibc' \ |
| 240 | + --tag 'amd64/busybox:1-glibc' \ |
| 241 | + --tag 'amd64/busybox:stable-glibc' \ |
| 242 | + --tag 'amd64/busybox:glibc' \ |
| 243 | + --tag 'oisupport/staging-amd64:191402ad0feacf03daf9d52a492207e73ef08b0bd17265043aea13aa27e2bb3f' \ |
| 244 | + --output '"type=oci","tar=false","dest=sbom"' \ |
| 245 | + - <<<'FROM oisupport/staging-amd64:191402ad0feacf03daf9d52a492207e73ef08b0bd17265043aea13aa27e2bb3f@sha256:4be429a5fbb2e71ae7958bfa558bc637cf3a61baf40a708cb8fff532b39e52d0' |
| 246 | +# </sbom_scan> |
177 | 247 | # <push>
|
178 | 248 | crane push --index temp 'oisupport/staging-amd64:191402ad0feacf03daf9d52a492207e73ef08b0bd17265043aea13aa27e2bb3f'
|
179 | 249 | rm -rf temp
|
|
0 commit comments