From a22213b650f348ab4d6faadfb9a164ee3824daa6 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Mon, 9 Sep 2024 11:48:50 -0700 Subject: [PATCH] updating deploy workflow with fix --- .github/workflows/build-push-image-commit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-push-image-commit.yaml b/.github/workflows/build-push-image-commit.yaml index 3c3d7f5..5405432 100644 --- a/.github/workflows/build-push-image-commit.yaml +++ b/.github/workflows/build-push-image-commit.yaml @@ -94,7 +94,7 @@ jobs: for deployment in $(grep -lr ${IMAGE} deployments/ | grep hubploy.yaml); do old_hash=$(grep ${IMAGE} ${deployment} | awk -F":" '{print $3}') new_hash=${IMAGE_TAG} - sed -i -e "s/${old_hash}/${new_hash}/g" ${deployment} + sed -i -e "s,${IMAGE}:${old_hash},${IMAGE}:${new_hash},g" ${deployment} echo "Updated ${deployment} with new image tag ${new_hash}" done