Skip to content

Commit 6e14e9f

Browse files
committed
Add back windows checksums
1 parent 5145971 commit 6e14e9f

4 files changed

Lines changed: 32 additions & 5 deletions

File tree

29/windows/windowsservercore-ltsc2022/Dockerfile

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

29/windows/windowsservercore-ltsc2025/Dockerfile

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

versions.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@
4141
"sha256": "70382de03915c07c488ae4ddc4f7e169ee978f953e754ecfce110ba017e0132b",
4242
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.linux-arm64"
4343
},
44+
"darwin-amd64": {
45+
"file": "buildx-v0.36.0.darwin-amd64",
46+
"sha256": "8a75be22ecf40f633fe0a0199be48fa304c0446a0d7fa8a53d7c71b1d0093028",
47+
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.darwin-amd64"
48+
},
49+
"darwin-arm64v8": {
50+
"file": "buildx-v0.36.0.darwin-arm64",
51+
"sha256": "82c6a3d9df37790c5bdb0d7ca88986d1d17622fc2b88ebe34b275c6c47acd7a6",
52+
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.darwin-arm64"
53+
},
4454
"freebsd-amd64": {
4555
"file": "buildx-v0.36.0.freebsd-amd64",
4656
"sha256": "ec18dd9ba32bfaa0c41bbe43183c8dc26190ec9e6e4219b2f615220eea70da7d",
@@ -85,6 +95,16 @@
8595
"file": "buildx-v0.36.0.linux-s390x",
8696
"sha256": "7c00dc2644ff428779d075aa080d046397511797d1c8475dce9f3c3471965a04",
8797
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.linux-s390x"
98+
},
99+
"windows-amd64": {
100+
"file": "buildx-v0.36.0.windows-amd64.exe",
101+
"sha256": "ce84699d1d93a67d25888b9e6a717862a71b20305602f96d44770b1c12dfcdd8",
102+
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.windows-amd64.exe"
103+
},
104+
"windows-arm64v8": {
105+
"file": "buildx-v0.36.0.windows-arm64.exe",
106+
"sha256": "3c553164f2b25dd6d2314d8a9a2c19afac58d48f49095eeb6b46165d93d114d8",
107+
"url": "https://github.com/docker/buildx/releases/download/v0.36.0/buildx-v0.36.0.windows-arm64.exe"
88108
}
89109
},
90110
"version": "0.36.0"

versions.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,14 @@ buildxVersions="$(
6363
buildx=
6464
buildxVersion=
6565
for buildxVersion in $buildxVersions; do
66-
if checksums="$(_curl "https://github.com/docker/buildx/releases/download/v${buildxVersion}/checksums.txt")"; then
66+
# checksums.txt -> linux + *bsd checksums
67+
# checksums-signed.txt -> windows + darwin checksums (see also https://github.com/docker/buildx/pull/3978)
68+
# fail if one is missing
69+
if \
70+
checksums="$(_curl "https://github.com/docker/buildx/releases/download/v${buildxVersion}/checksums.txt")" \
71+
&& checksums+=$'\n' \
72+
&& checksums+="$(_curl "https://github.com/docker/buildx/releases/download/v${buildxVersion}/checksums-signed.txt")" \
73+
; then
6774
buildx="$(jq <<<"$checksums" -csR --arg version "$buildxVersion" '
6875
rtrimstr("\n") | split("\n")
6976
| map(

0 commit comments

Comments
 (0)