-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update golang #15336
Merged
Merged
Update golang #15336
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes: - docker-library/golang@1877867: Merge pull request docker-library/golang#489 from infosiftr/go-1.19 - docker-library/golang@008fdbf: Add back 1.19 temporarily for 1.19.13
Diff for c6fc04b:diff --git a/_bashbrew-cat b/_bashbrew-cat
index c6bbd6d..461858c 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,6 +1,55 @@
Maintainers: Tianon Gravi <admwiggin@gmail.com> (@tianon), Joseph Ferguson <yosifkit@gmail.com> (@yosifkit), Johan Euphrosine <proppy@google.com> (@proppy)
GitRepo: https://github.com/docker-library/golang.git
+Tags: 1.19.13-alpine3.17, 1.19-alpine3.17
+Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/alpine3.17
+
+Tags: 1.19.13-alpine3.18, 1.19-alpine3.18, 1.19.13-alpine, 1.19-alpine
+Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/alpine3.18
+
+Tags: 1.19.13-bookworm, 1.19-bookworm
+SharedTags: 1.19.13, 1.19
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/bookworm
+
+Tags: 1.19.13-bullseye, 1.19-bullseye
+Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/bullseye
+
+Tags: 1.19.13-nanoserver-1809, 1.19-nanoserver-1809
+SharedTags: 1.19.13-nanoserver, 1.19-nanoserver
+Architectures: windows-amd64
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/windows/nanoserver-1809
+Constraints: nanoserver-1809, windowsservercore-1809
+
+Tags: 1.19.13-nanoserver-ltsc2022, 1.19-nanoserver-ltsc2022
+SharedTags: 1.19.13-nanoserver, 1.19-nanoserver
+Architectures: windows-amd64
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/windows/nanoserver-ltsc2022
+Constraints: nanoserver-ltsc2022, windowsservercore-ltsc2022
+
+Tags: 1.19.13-windowsservercore-1809, 1.19-windowsservercore-1809
+SharedTags: 1.19.13-windowsservercore, 1.19-windowsservercore, 1.19.13, 1.19
+Architectures: windows-amd64
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/windows/windowsservercore-1809
+Constraints: windowsservercore-1809
+
+Tags: 1.19.13-windowsservercore-ltsc2022, 1.19-windowsservercore-ltsc2022
+SharedTags: 1.19.13-windowsservercore, 1.19-windowsservercore, 1.19.13, 1.19
+Architectures: windows-amd64
+GitCommit: 008fdbf24874ecc64d3bb6068bd3e86fca0801a7
+Directory: 1.19/windows/windowsservercore-ltsc2022
+Constraints: windowsservercore-ltsc2022
+
Tags: 1.20.8-alpine3.17, 1.20-alpine3.17
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
GitCommit: 24115a7612dfca330632a04604cd72f673085e8a
diff --git a/_bashbrew-list b/_bashbrew-list
index cd22f3b..09353e8 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -10,6 +10,30 @@ golang:1-nanoserver-ltsc2022
golang:1-windowsservercore
golang:1-windowsservercore-1809
golang:1-windowsservercore-ltsc2022
+golang:1.19
+golang:1.19-alpine
+golang:1.19-alpine3.17
+golang:1.19-alpine3.18
+golang:1.19-bookworm
+golang:1.19-bullseye
+golang:1.19-nanoserver
+golang:1.19-nanoserver-1809
+golang:1.19-nanoserver-ltsc2022
+golang:1.19-windowsservercore
+golang:1.19-windowsservercore-1809
+golang:1.19-windowsservercore-ltsc2022
+golang:1.19.13
+golang:1.19.13-alpine
+golang:1.19.13-alpine3.17
+golang:1.19.13-alpine3.18
+golang:1.19.13-bookworm
+golang:1.19.13-bullseye
+golang:1.19.13-nanoserver
+golang:1.19.13-nanoserver-1809
+golang:1.19.13-nanoserver-ltsc2022
+golang:1.19.13-windowsservercore
+golang:1.19.13-windowsservercore-1809
+golang:1.19.13-windowsservercore-ltsc2022
golang:1.20
golang:1.20-alpine
golang:1.20-alpine3.17
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index e377312..7070b5f 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,3 +1,9 @@
+golang:1.19-alpine3.17
+golang:1.19-alpine
+golang:1.19-bookworm
+golang:1.19-bullseye
+golang:1.19-windowsservercore-1809
+golang:1.19-windowsservercore-ltsc2022
golang:1.20-alpine3.17
golang:1.20-alpine
golang:1.20-bookworm
@@ -10,6 +16,8 @@ golang:bookworm
golang:bullseye
golang:windowsservercore-1809
golang:windowsservercore-ltsc2022
+golang:1.19-nanoserver-1809
+golang:1.19-nanoserver-ltsc2022
golang:1.20-nanoserver-1809
golang:1.20-nanoserver-ltsc2022
golang:nanoserver-1809
diff --git a/golang_1.20-alpine/Dockerfile b/golang_1.19-alpine/Dockerfile
similarity index 95%
copy from golang_1.20-alpine/Dockerfile
copy to golang_1.19-alpine/Dockerfile
index d1f30eb..10478b8 100644
--- a/golang_1.20-alpine/Dockerfile
+++ b/golang_1.19-alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
RUN set -eux; \
apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -47,8 +47,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
- sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+ url='https://dl.google.com/go/go1.19.13.src.tar.gz'; \
+ sha256='ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3'; \
# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
fi; \
\
diff --git a/golang_1.20-alpine3.17/Dockerfile b/golang_1.19-alpine3.17/Dockerfile
similarity index 95%
copy from golang_1.20-alpine3.17/Dockerfile
copy to golang_1.19-alpine3.17/Dockerfile
index bb5ba07..dedeeb0 100644
--- a/golang_1.20-alpine3.17/Dockerfile
+++ b/golang_1.19-alpine3.17/Dockerfile
@@ -10,7 +10,7 @@ RUN apk add --no-cache ca-certificates
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
RUN set -eux; \
apk add --no-cache --virtual .fetch-deps gnupg; \
@@ -47,8 +47,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
- sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+ url='https://dl.google.com/go/go1.19.13.src.tar.gz'; \
+ sha256='ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3'; \
# the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅
fi; \
\
diff --git a/golang_1.20-bookworm/Dockerfile b/golang_1.19-bookworm/Dockerfile
similarity index 75%
copy from golang_1.20-bookworm/Dockerfile
copy to golang_1.19-bookworm/Dockerfile
index 4558172..0ede575 100644
--- a/golang_1.20-bookworm/Dockerfile
+++ b/golang_1.19-bookworm/Dockerfile
@@ -20,44 +20,44 @@ RUN set -eux; \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
- url='https://dl.google.com/go/go1.20.8.linux-amd64.tar.gz'; \
- sha256='cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4'; \
+ url='https://dl.google.com/go/go1.19.13.linux-amd64.tar.gz'; \
+ sha256='4643d4c29c55f53fa0349367d7f1bb5ca554ea6ef528c146825b0f8464e2e668'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://dl.google.com/go/go1.20.8.linux-armv6l.tar.gz'; \
- sha256='6fd6b0bd7861d8ff69d6f25b879c69cd25ee33b2cc52b6ed3a6c0d26368e0dcb'; \
+ url='https://dl.google.com/go/go1.19.13.linux-armv6l.tar.gz'; \
+ sha256='9dfd42b41057514454134552854cd1a5a47d501b760c87e9b0d3b0665374d8d9'; \
;; \
'arm64') \
- url='https://dl.google.com/go/go1.20.8.linux-arm64.tar.gz'; \
- sha256='15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e'; \
+ url='https://dl.google.com/go/go1.19.13.linux-arm64.tar.gz'; \
+ sha256='1142ada7bba786d299812b23edd446761a54efbbcde346c2f0bc69ca6a007b58'; \
;; \
'i386') \
- url='https://dl.google.com/go/go1.20.8.linux-386.tar.gz'; \
- sha256='d6e526520cf519049a854d7344b0a5fbe9675a3f24e7f22c44e38d8387ef942c'; \
+ url='https://dl.google.com/go/go1.19.13.linux-386.tar.gz'; \
+ sha256='8368a9fdb3ab78da1ce75b80dc765c2814ca42afc2cf7e7dc45a1a61eaea22be'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://dl.google.com/go/go1.20.8.linux-ppc64le.tar.gz'; \
- sha256='a5034a9c7eac6c5bcc650c2605c5edb4039c7b6064e2a2ea43c415c8af91f5f6'; \
+ url='https://dl.google.com/go/go1.19.13.linux-ppc64le.tar.gz'; \
+ sha256='fe02b81fd18913a19de420929f1fc2698eea15e90ad1d13471168fcdabe3aaff'; \
;; \
'riscv64') \
export GOARCH='riscv64' GOOS='linux'; \
;; \
's390x') \
- url='https://dl.google.com/go/go1.20.8.linux-s390x.tar.gz'; \
- sha256='28261a277f4a724d3a3c56b50ca892ea762778a4b64b5e16b2b8a81faf523394'; \
+ url='https://dl.google.com/go/go1.19.13.linux-s390x.tar.gz'; \
+ sha256='af324cb46b268722e8ed3c7ecac87af4ee288ccb50be30ce2184fa7210495fb9'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -65,8 +65,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
- sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+ url='https://dl.google.com/go/go1.19.13.src.tar.gz'; \
+ sha256='ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_1.20-bookworm/Dockerfile b/golang_1.19-bullseye/Dockerfile
similarity index 74%
copy from golang_1.20-bookworm/Dockerfile
copy to golang_1.19-bullseye/Dockerfile
index 4558172..18d3f98 100644
--- a/golang_1.20-bookworm/Dockerfile
+++ b/golang_1.19-bullseye/Dockerfile
@@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#
-FROM buildpack-deps:bookworm-scm
+FROM buildpack-deps:bullseye-scm
# install cgo-related dependencies
RUN set -eux; \
@@ -20,44 +20,44 @@ RUN set -eux; \
ENV PATH /usr/local/go/bin:$PATH
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
RUN set -eux; \
arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \
url=; \
case "$arch" in \
'amd64') \
- url='https://dl.google.com/go/go1.20.8.linux-amd64.tar.gz'; \
- sha256='cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4'; \
+ url='https://dl.google.com/go/go1.19.13.linux-amd64.tar.gz'; \
+ sha256='4643d4c29c55f53fa0349367d7f1bb5ca554ea6ef528c146825b0f8464e2e668'; \
;; \
'armel') \
export GOARCH='arm' GOARM='5' GOOS='linux'; \
;; \
'armhf') \
- url='https://dl.google.com/go/go1.20.8.linux-armv6l.tar.gz'; \
- sha256='6fd6b0bd7861d8ff69d6f25b879c69cd25ee33b2cc52b6ed3a6c0d26368e0dcb'; \
+ url='https://dl.google.com/go/go1.19.13.linux-armv6l.tar.gz'; \
+ sha256='9dfd42b41057514454134552854cd1a5a47d501b760c87e9b0d3b0665374d8d9'; \
;; \
'arm64') \
- url='https://dl.google.com/go/go1.20.8.linux-arm64.tar.gz'; \
- sha256='15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e'; \
+ url='https://dl.google.com/go/go1.19.13.linux-arm64.tar.gz'; \
+ sha256='1142ada7bba786d299812b23edd446761a54efbbcde346c2f0bc69ca6a007b58'; \
;; \
'i386') \
- url='https://dl.google.com/go/go1.20.8.linux-386.tar.gz'; \
- sha256='d6e526520cf519049a854d7344b0a5fbe9675a3f24e7f22c44e38d8387ef942c'; \
+ url='https://dl.google.com/go/go1.19.13.linux-386.tar.gz'; \
+ sha256='8368a9fdb3ab78da1ce75b80dc765c2814ca42afc2cf7e7dc45a1a61eaea22be'; \
;; \
'mips64el') \
export GOARCH='mips64le' GOOS='linux'; \
;; \
'ppc64el') \
- url='https://dl.google.com/go/go1.20.8.linux-ppc64le.tar.gz'; \
- sha256='a5034a9c7eac6c5bcc650c2605c5edb4039c7b6064e2a2ea43c415c8af91f5f6'; \
+ url='https://dl.google.com/go/go1.19.13.linux-ppc64le.tar.gz'; \
+ sha256='fe02b81fd18913a19de420929f1fc2698eea15e90ad1d13471168fcdabe3aaff'; \
;; \
'riscv64') \
export GOARCH='riscv64' GOOS='linux'; \
;; \
's390x') \
- url='https://dl.google.com/go/go1.20.8.linux-s390x.tar.gz'; \
- sha256='28261a277f4a724d3a3c56b50ca892ea762778a4b64b5e16b2b8a81faf523394'; \
+ url='https://dl.google.com/go/go1.19.13.linux-s390x.tar.gz'; \
+ sha256='af324cb46b268722e8ed3c7ecac87af4ee288ccb50be30ce2184fa7210495fb9'; \
;; \
*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; \
esac; \
@@ -65,8 +65,8 @@ RUN set -eux; \
if [ -z "$url" ]; then \
# https://github.com/golang/go/issues/38536#issuecomment-616897960
build=1; \
- url='https://dl.google.com/go/go1.20.8.src.tar.gz'; \
- sha256='38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e'; \
+ url='https://dl.google.com/go/go1.19.13.src.tar.gz'; \
+ sha256='ccf36b53fb0024a017353c3ddb22c1f00bc7a8073c6aac79042da24ee34434d3'; \
echo >&2; \
echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; \
echo >&2; \
diff --git a/golang_1.20-nanoserver-1809/Dockerfile b/golang_1.19-nanoserver-1809/Dockerfile
similarity index 88%
copy from golang_1.20-nanoserver-1809/Dockerfile
copy to golang_1.19-nanoserver-1809/Dockerfile
index 19b11cd..411eb9c 100644
--- a/golang_1.20-nanoserver-1809/Dockerfile
+++ b/golang_1.19-nanoserver-1809/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
USER ContainerUser
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.20.8-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.19.13-windowsservercore-1809 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
RUN go version
WORKDIR $GOPATH
diff --git a/golang_nanoserver-ltsc2022/Dockerfile b/golang_1.19-nanoserver-ltsc2022/Dockerfile
similarity index 88%
copy from golang_nanoserver-ltsc2022/Dockerfile
copy to golang_1.19-nanoserver-ltsc2022/Dockerfile
index 16b24dd..23356d9 100644
--- a/golang_nanoserver-ltsc2022/Dockerfile
+++ b/golang_1.19-nanoserver-ltsc2022/Dockerfile
@@ -21,10 +21,10 @@ RUN setx /m PATH "%GOPATH%\bin;C:\Program Files\Go\bin;%PATH%"
USER ContainerUser
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.21.1
+ENV GOLANG_VERSION 1.19.13
# Docker's Windows path parsing is absolutely *cursed*; please just trust me on this one -Tianon
-COPY --from=golang:1.21.1-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
+COPY --from=golang:1.19.13-windowsservercore-ltsc2022 ["C:\\\\Program Files\\\\Go","C:\\\\Program Files\\\\Go"]
RUN go version
WORKDIR $GOPATH
diff --git a/golang_1.20-windowsservercore-1809/Dockerfile b/golang_1.19-windowsservercore-1809/Dockerfile
similarity index 95%
copy from golang_1.20-windowsservercore-1809/Dockerfile
copy to golang_1.19-windowsservercore-1809/Dockerfile
index 3537f0e..4c33d8d 100644
--- a/golang_1.20-windowsservercore-1809/Dockerfile
+++ b/golang_1.19-windowsservercore-1809/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
-RUN $url = 'https://dl.google.com/go/go1.20.8.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.19.13.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '6308336f7060023f2c9c58cdeefaa1389b5c4a96b4bd87b6ad742c57f8ac00da'; \
+ $sha256 = '908cba438f6f34fdf5ec8572f5f8759cb85b87f5c0b4fc4a389249bf92b86736'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \
diff --git a/golang_1.20-windowsservercore-ltsc2022/Dockerfile b/golang_1.19-windowsservercore-ltsc2022/Dockerfile
similarity index 95%
copy from golang_1.20-windowsservercore-ltsc2022/Dockerfile
copy to golang_1.19-windowsservercore-ltsc2022/Dockerfile
index 503c0d2..be0b8ff 100644
--- a/golang_1.20-windowsservercore-ltsc2022/Dockerfile
+++ b/golang_1.19-windowsservercore-ltsc2022/Dockerfile
@@ -53,14 +53,14 @@ RUN $newPath = ('{0}\bin;C:\Program Files\Go\bin;{1}' -f $env:GOPATH, $env:PATH)
[Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine);
# doing this first to share cache across versions more aggressively
-ENV GOLANG_VERSION 1.20.8
+ENV GOLANG_VERSION 1.19.13
-RUN $url = 'https://dl.google.com/go/go1.20.8.windows-amd64.zip'; \
+RUN $url = 'https://dl.google.com/go/go1.19.13.windows-amd64.zip'; \
Write-Host ('Downloading {0} ...' -f $url); \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Invoke-WebRequest -Uri $url -OutFile 'go.zip'; \
\
- $sha256 = '6308336f7060023f2c9c58cdeefaa1389b5c4a96b4bd87b6ad742c57f8ac00da'; \
+ $sha256 = '908cba438f6f34fdf5ec8572f5f8759cb85b87f5c0b4fc4a389249bf92b86736'; \
Write-Host ('Verifying sha256 ({0}) ...' -f $sha256); \
if ((Get-FileHash go.zip -Algorithm sha256).Hash -ne $sha256) { \
Write-Host 'FAILED!'; \ Relevant Maintainers: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes: