From f2870a37ba6b2dd8a33bf38a0ea922a7c59b8f0d Mon Sep 17 00:00:00 2001 From: Adish M Date: Tue, 2 Jul 2024 13:07:33 +0530 Subject: [PATCH] Correction docker release workflow --- .github/workflows/tooljet-release-docker-image-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tooljet-release-docker-image-build.yml b/.github/workflows/tooljet-release-docker-image-build.yml index b26fcfa4b2..30f89683ce 100644 --- a/.github/workflows/tooljet-release-docker-image-build.yml +++ b/.github/workflows/tooljet-release-docker-image-build.yml @@ -187,7 +187,7 @@ jobs: sudo docker images # Update docker-compose.yml with the new image for tooljet service - sed -i '/^[[:space:]]*tooljet:/,/^[[:space:]]*[^:]*$/ { /^[[:space:]]*image:[[:space:]]*tooljet\/tooljet-ce/s|\(image:[[:space:]]*\).*|\1tooljet/tooljet-ce:'"${{ github.event.inputs.image }}"'| }' docker-compose.yml + sed -i '/^[[:space:]]*tooljet:/,/^[[:space:]]*[^:]*$/ { /^[[:space:]]*image:[[:space:]]*tooljet\/tooljet-ce/s|\(image:[[:space:]]*\).*|\1tooljet/tooljet-ce:'"${{ github.event.release.tag_name }}"'| }' docker-compose.yml # check the updated docker-compose.yml file cat docker-compose.yaml @@ -201,7 +201,7 @@ jobs: - name: Send Slack Notification run: | if [[ "${{ job.status }}" == "success" ]]; then - message="CE-LTS test system with updated the image: `tooljet/tooljet-ce:${{ github.event.inputs.image }}`" + message="CE-LTS test system with updated the image: `tooljet/tooljet-ce:${{ github.event.release.tag_name }}`" else message="Failed to update the CE LTS test system" fi