Skip to content

Commit

Permalink
feat(workflow): add package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Morian Engelhardt committed Oct 22, 2023
1 parent 61e06c4 commit 3e55bf0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
minor-keywords: major
patch-keywords: feat,fix,qol,refactor,perf,docs,style,ci,chore,test

# - name: get-npm-version
# id: package-version
# uses: martinbeentjes/npm-get-version-action@v1.3.1
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1

- uses: actions/setup-node@v3
with:
Expand All @@ -33,8 +33,8 @@ jobs:
uses: mr-smithers-excellent/docker-build-push@v5
with:
image: xp-dashboard
# tags: v${{ steps.package-version.outputs.current-version}}, latest
tags: latest
tags: v${{ steps.package-version.outputs.current-version}}, latest
# tags: latest
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e55bf0

Please sign in to comment.