mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: use install.sh from golangci-lint repo
The golangci-lint install script at goreleaser.com is deprecated. Docs now advise to install from a github link: goreleaser/godownloader#207 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
3ca8b1e006
commit
f3ed883df9
@ -46,7 +46,7 @@ RUN source /build.env \
|
|||||||
&& mkdir -p ${GOROOT} \
|
&& mkdir -p ${GOROOT} \
|
||||||
&& curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GOARCH}.tar.gz \
|
&& curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GOARCH}.tar.gz \
|
||||||
| tar xzf - -C ${GOROOT} --strip-components=1 \
|
| tar xzf - -C ${GOROOT} --strip-components=1 \
|
||||||
&& curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" \
|
&& curl -sf "https://raw.githubusercontent.com/golangci/golangci-lint/${GOLANGCI_VERSION}/install.sh" \
|
||||||
| bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \
|
| bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \
|
||||||
&& curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \
|
&& curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \
|
||||||
&& mkdir /opt/commitlint && pushd /opt/commitlint \
|
&& mkdir /opt/commitlint && pushd /opt/commitlint \
|
||||||
|
Loading…
Reference in New Issue
Block a user