Skip to content

Commit 854c300

Browse files
authored
added step to push
1 parent b752293 commit 854c300

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish_image_to_dockerhub.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
git config --local user.email "[email protected]"
2727
git config --local user.name "GitHub Action"
2828
git pull origin master
29-
echo ${{ steps.bump.outputs.new_tag }}
30-
awk -v tag="v0.6.0" '{gsub("v[0-9]+[.]+.+", tag, $0); print}' docker-compose.yml > docker-compose.tmp && mv docker-compose.tmp docker-compose.yml
3129
awk -v tag=${{ steps.bump.outputs.new_tag }} '{gsub("v[0-9]+[.]+.+", tag, $0); print}' docker-compose.yml > docker-compose.tmp && mv docker-compose.tmp docker-compose.yml
32-
cat docker-compose.yml
3330
git add docker-compose.yml
3431
git commit -m "update Docker Compose"
32+
- name: Push changes
33+
uses: ad-m/github-push-action@master
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
3536
- name: Create Release
3637
id: create_release
3738
uses: actions/create-release@v1

0 commit comments

Comments
 (0)