From ed0d9d987134ea5b13ce39ab315b7888d1f06946 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 26 Jun 2023 12:07:50 -0700 Subject: [PATCH] improve grep --- .github/workflows/build-plus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-plus.yml b/.github/workflows/build-plus.yml index ad6e22b652..b87d73b74a 100644 --- a/.github/workflows/build-plus.yml +++ b/.github/workflows/build-plus.yml @@ -143,7 +143,7 @@ jobs: - name: AWS variables id: aws run: | - aws_registry=$(echo "${{ steps.meta.outputs.tags }}" | grep "709825985650.dkr.ecr.us-east-1.amazonaws.com") + aws_registry=$(echo "${{ steps.meta.outputs.tags }}" | grep -oP "709825985650.dkr.ecr.us-east-1.amazonaws.com/[^[:space:]]+") version=$(echo ${{ steps.meta.outputs.version }} | sed 's/-mktpl//') declare -A nap_mapping=( ["waf"]=_NAP_WAF