Skip to content

Commit 72c7358

Browse files
authored
fixed docker-compose update print issue
1 parent 9f0f590 commit 72c7358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish_image_to_dockerhub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
git config --local user.email "[email protected]"
2727
git config --local user.name "GitHub Action"
2828
git pull origin master
29-
awk '{gsub("v[0-9]+[.]+.+", ${{ steps.bump.outputs.new_tag }}, $0); print}' docker-compose.yml
29+
awk '{gsub("v[0-9]+[.]+.+", ${{ steps.bump.outputs.new_tag }}, $0); print}' docker-compose.yml > docker-compose.tmp && mv docker-compose.tmp docker-compose.yml
3030
git commit -m "update Docker Compose" -a
3131
- name: Create Release
3232
id: create_release

0 commit comments

Comments
 (0)