From 3e55bf016b9347b462e534ab614d87c7b7b09c44 Mon Sep 17 00:00:00 2001 From: Morian Engelhardt Date: Sun, 22 Oct 2023 23:18:18 +0200 Subject: [PATCH] feat(workflow): add package version --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4d2135..d412387 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: @@ -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 }}