Skip to content

Commit

Permalink
fix: fixed tag bumping code
Browse files Browse the repository at this point in the history
  • Loading branch information
hommayushi3 committed Aug 9, 2024
1 parent adfe104 commit ba79708
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/sync-to-docker-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,17 @@ jobs:
${{ secrets.DOCKER_USER }}/vllm-huggingface:latest
${{ secrets.DOCKER_USER }}/vllm-huggingface:${{ steps.get_version.outputs.VERSION }}
- name: Create and push tag
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git config user.name github-actions
git config user.email [email protected]
git tag ${{ steps.get_version.outputs.VERSION }}
git push origin ${{ steps.get_version.outputs.VERSION }}
- name: Update latest git tag
uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
with:
current_version: ${{ steps.get-latest-tag.outputs.tag }}
level: minor

- uses: actions-ecosystem/action-push-tag@v1
with:
tag: ${{ steps.bump-semver.outputs.new_version }}
message: '${{ steps.bump-semver.outputs.new_version }}'

0 comments on commit ba79708

Please sign in to comment.