Add export to the output also

This commit is contained in:
decentral1se 2021-03-16 09:04:42 +01:00
parent 0e1b6c858b
commit 0814fa9146
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ fi
version=$(echo "$IMAGE" | cut -d ':' -f2)
digest=$(docker image inspect -f "{{.Id}}" "$IMAGE" | cut -d ':' -f2- | cut -c 1-8)
echo "ABRA_TYPE_${SERVICE^^}_VERSION=${version}"
echo "ABRA_TYPE_${SERVICE^^}_DIGEST=${digest}"
echo "export ABRA_TYPE_${SERVICE^^}_VERSION=${version}"
echo "export ABRA_TYPE_${SERVICE^^}_DIGEST=${digest}"