mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-19 01:28:51 +02:00
fix variable
This commit is contained in:
parent
db68b7cba4
commit
d1d33c62f7
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ check-image() {
|
||||||
local _manifest
|
local _manifest
|
||||||
_manifest="$(inspect-manifest "$_image")"
|
_manifest="$(inspect-manifest "$_image")"
|
||||||
|
|
||||||
local _hasARM64
|
local _has_arm64
|
||||||
_has_arm64="$(echo "$_manifest" | jq '
|
_has_arm64="$(echo "$_manifest" | jq '
|
||||||
.manifest.manifests
|
.manifest.manifests
|
||||||
| map(select(.platform.architecture == "arm64" and .platform.os == "linux"))
|
| map(select(.platform.architecture == "arm64" and .platform.os == "linux"))
|
||||||
|
@ -42,7 +42,7 @@ check-image() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local _hasAMD64
|
local _has_amd64
|
||||||
_has_amd64="$(echo "$_manifest" | jq '
|
_has_amd64="$(echo "$_manifest" | jq '
|
||||||
.manifest.manifests
|
.manifest.manifests
|
||||||
| map(select(.platform.architecture == "amd64" and .platform.os == "linux"))
|
| map(select(.platform.architecture == "amd64" and .platform.os == "linux"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue