From b4c8b30e87139264ca1a47ea892b07de1ecfb77b Mon Sep 17 00:00:00 2001 From: Rajpal Chauhan Date: Wed, 7 Feb 2024 13:50:09 -0800 Subject: [PATCH] executing the command Signed-off-by: Rajpal Chauhan --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fdc71726..cd6bdc0c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -129,7 +129,7 @@ jobs: if: ${{ matrix.BASE_SOURCE_IMAGE_REGISTRY }} != "" && contains(fromJSON('["aries-endorser-agent","aries-endorser-backup","aries-endorser-api","aries-endorser-proxy"]'), matrix.service) run: | BASE_IMAGE=${BASE_SOURCE_IMAGE_REGISTRY}${BASE_SOURCE_IMAGE_NAME}:${BASE_SOURCE_IMAGE_TAG} - sed -i "/FROM .*/FROM ${BASE_IMAGE}/g" ${file} + sed -i -e "/FROM .*/FROM ${BASE_IMAGE}/g" ${file} env: context: ${{ matrix.SOURCE_CONTEXT_DIR }} BASE_SOURCE_IMAGE_REGISTRY: ${{ matrix.BASE_SOURCE_IMAGE_REGISTRY }}