Skip to content

Commit

Permalink
Fix excaping
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Feb 23, 2020
1 parent cf303a1 commit b01b85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function build_generic() {
# Additional build labels
if [ -n "$labels" ]; then
for label in $labels; do
value="$(jq --raw-output ".labels.$label" "$TARGET/build.json")"
value="$(jq --raw-output ".labels.\"$label\"" "$TARGET/build.json")"
docker_cli+=("--label" "$label=$value")
done
fi
Expand Down

0 comments on commit b01b85d

Please sign in to comment.