Use proper jq path

Closes coop-cloud/abra#184.
This commit is contained in:
decentral1se 2021-06-17 09:34:36 +02:00
parent fae13d9af8
commit a571b839a8
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

2
abra
View File

@ -2183,7 +2183,7 @@ sub_recipe_release() {
fi
info "Fetching $service_image metadata from Docker Hub"
service_data=$(skopeo inspect "docker://$service_image")
service_digest=$(echo "$service_data" | jq -r '.Digest' | cut -d':' -f2 | cut -c-8)
service_digest=$(echo "$service_data" | $JQ -r '.Digest' | cut -d':' -f2 | cut -c-8)
label="coop-cloud.\${STACK_NAME}.$service.version=${service_tag}-${service_digest}"