mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-06 11:28:10 +02:00
scripts: update get-envoy script to download all binaries
This commit is contained in:
parent
1e6a483ce9
commit
e23aa3faa3
1 changed files with 20 additions and 19 deletions
|
@ -7,8 +7,8 @@ export PATH
|
||||||
_project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)/.."
|
_project_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)/.."
|
||||||
_envoy_version=1.24.0
|
_envoy_version=1.24.0
|
||||||
_dir="$_project_root/pkg/envoy/files"
|
_dir="$_project_root/pkg/envoy/files"
|
||||||
_target="${TARGET:-"$(go env GOOS)-$(go env GOARCH)"}"
|
|
||||||
|
|
||||||
|
for _target in darwin-amd64 darwin-arm64 linux-amd64 linux-arm64; do
|
||||||
_url="https://github.com/pomerium/envoy-binaries/releases/download/v${_envoy_version}/envoy-${_target}"
|
_url="https://github.com/pomerium/envoy-binaries/releases/download/v${_envoy_version}/envoy-${_target}"
|
||||||
|
|
||||||
curl \
|
curl \
|
||||||
|
@ -30,3 +30,4 @@ curl \
|
||||||
"$_url.sha256"
|
"$_url.sha256"
|
||||||
|
|
||||||
echo "$_envoy_version" >"$_dir/envoy-$_target.version"
|
echo "$_envoy_version" >"$_dir/envoy-$_target.version"
|
||||||
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue