From 0814fa91464cabb68d57977d7bed4542716ab8ef Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 16 Mar 2021 09:04:42 +0100 Subject: [PATCH] Add export to the output also --- app-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-version.sh b/app-version.sh index dce338e..48b9a35 100755 --- a/app-version.sh +++ b/app-version.sh @@ -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}"