mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 17:45:19 +02:00
Fix variable{1} on build pipeline (#49750)
This commit is contained in:
4
.github/workflows/builder.yml
vendored
4
.github/workflows/builder.yml
vendored
@@ -237,7 +237,7 @@ jobs:
|
|||||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||||
|
|
||||||
function create_manifest() {
|
function create_manifest() {
|
||||||
local docker_reg={1}
|
local docker_reg=${1}
|
||||||
local tag_l=${2}
|
local tag_l=${2}
|
||||||
local tag_r=${3}
|
local tag_r=${3}
|
||||||
|
|
||||||
@@ -272,7 +272,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
function validate_image() {
|
function validate_image() {
|
||||||
local image={1}
|
local image=${1}
|
||||||
state="$(vcn authenticate --org home-assistant.io --output json docker://${image} | jq '.verification.status // 2')"
|
state="$(vcn authenticate --org home-assistant.io --output json docker://${image} | jq '.verification.status // 2')"
|
||||||
if [[ "${state}" != "0" ]]; then
|
if [[ "${state}" != "0" ]]; then
|
||||||
echo "Invalid signature!"
|
echo "Invalid signature!"
|
||||||
|
Reference in New Issue
Block a user