Skip to content

Commit

Permalink
Added updating the version for the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiefeiss committed Jan 24, 2024
1 parent 3682a36 commit 2f74ed5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Get release version
id: version
run: echo "VALUE=$(npx --yes semver ${{ github.event.release.tag_name }})" >> "$GITHUB_OUTPUT"

- name: Update project version and zip file
run: |
npm version ${{ steps.version.outputs.VALUE }} --no-git-tag-version
- name: Build and push
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 2f74ed5

Please sign in to comment.