Skip to content

Commit

Permalink
Update prod-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceowater authored Sep 16, 2024
1 parent 3dac7d5 commit 8257c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prod-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
cd target-repo
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
sed -i "s|\(image: .*${{ env.REPO_NAME }}:\).*|\1${{ env.GIT_SHORT_SHA }}|" res/apps/${{ env.REPO_NAME }}/docker-compose.yaml
sed -i "s|\(image: .*${{ env.REPO_NAME }}:\).*|\1${{ env.GIT_SHORT_SHA }}|" res/apps/${{ env.REPO_NAME }}/docker-compose.yml
git commit -am "Update Docker Compose image tag to $GIT_SHORT_SHA"
git push origin main

0 comments on commit 8257c46

Please sign in to comment.