Skip to content

Commit

Permalink
update action version
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirkiviti13 committed Sep 24, 2024
1 parent b616826 commit b6c69ba
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pr-merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ jobs:
repository: aquasec/aqua-scanner
readme-filepath: ./README-dockerhub.md
- name: Update tag to latest
run: |
git config --global url.https://${{ secrets.UPDATE_TAG_GH_TOKEN }}@github.com/.insteadOf https://github.com/
git config --global user.email "user@aquasec.com"
git config --global user.name "Aqua Security"
git tag -f -a ${{ env.new_version }} -m "Update version ${{ env.new_version }} to the latest commit"
git push -f origin refs/tags/${{ env.new_version }}
git config --global url.https://github.com/.insteadOf https://${{ secrets.UPDATE_TAG_GH_TOKEN }}@github.com/
uses: richardsimko/update-tag@v1
with:
tag_name: ${{ env.new_version }}
env:
GITHUB_TOKEN: ${{ secrets.UPDATE_TAG_GH_TOKEN }}

0 comments on commit b6c69ba

Please sign in to comment.