Skip to content

Commit

Permalink
fix pushing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t committed Sep 15, 2023
1 parent 9d53339 commit 6aed17b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,4 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag -a ${{ steps.setDefaults.outputs.tag }} -m "creat tag ${{ steps.setDefaults.outputs.tag }} for staging"
- name: Push tag
if: ${{ (github.ref == 'refs/heads/suite-tagging') && (github.event_name == 'push') && (steps.setDefaults.outputs.create_tag == 'true') }}
uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}
git push --tags

0 comments on commit 6aed17b

Please sign in to comment.