From 21c86f67a7696aa8ed5cd8af27e74b1466959ec7 Mon Sep 17 00:00:00 2001 From: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com> Date: Wed, 4 Dec 2024 06:57:40 +0530 Subject: [PATCH] Update update-docker-compose-stable.yaml --- .github/workflows/update-docker-compose-stable.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-docker-compose-stable.yaml b/.github/workflows/update-docker-compose-stable.yaml index 19890f0ef..437d83ea4 100644 --- a/.github/workflows/update-docker-compose-stable.yaml +++ b/.github/workflows/update-docker-compose-stable.yaml @@ -30,8 +30,8 @@ jobs: latest_tag="$(gh api \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - /repos/${{ github.repository }}/releases/latest | jq '.tag_name')" - sed -i -E 's|(image: ghcr\.io/peerdb\-io/.*?:stable-)(.*$)|\1'${latest_tag}'|g' docker-compose.yml + /repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')" + sed -i -E 's|(image: ghcr\.io/peerdb\-io/.*?:stable-)(.*$)|\1'"${latest_tag}"'|g' docker-compose.yml git config --global user.name "${GITHUB_ACTOR}" git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" git checkout -b "${PR_BRANCH}"