Skip to content

Commit

Permalink
Update update-docker-compose-stable.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta authored Dec 4, 2024
1 parent eae6f6f commit 21c86f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-docker-compose-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 21c86f6

Please sign in to comment.