Skip to content

Commit

Permalink
added step to push
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers authored May 23, 2021
1 parent b752293 commit 854c300
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish_image_to_dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git pull origin master
echo ${{ steps.bump.outputs.new_tag }}
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
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
cat docker-compose.yml
git add docker-compose.yml
git commit -m "update Docker Compose"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 854c300

Please sign in to comment.