Fix variable{1} on build pipeline (#49750)

This commit is contained in:
Pascal Vizeli 2021-04-27 12:41:31 +02:00 committed by GitHub
parent b28a868fd0
commit d2c989ed93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,7 @@ jobs:
export DOCKER_CLI_EXPERIMENTAL=enabled
function create_manifest() {
local docker_reg={1}
local docker_reg=${1}
local tag_l=${2}
local tag_r=${3}
@ -272,7 +272,7 @@ jobs:
}
function validate_image() {
local image={1}
local image=${1}
state="$(vcn authenticate --org home-assistant.io --output json docker://${image} | jq '.verification.status // 2')"
if [[ "${state}" != "0" ]]; then
echo "Invalid signature!"