Skip to content

Commit

Permalink
Merge pull request #55 from xp-bot/development
Browse files Browse the repository at this point in the history
test(docker): set versions
  • Loading branch information
ConnysCode authored Oct 22, 2023
2 parents fa0afaf + 425a257 commit 01666f8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,29 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Bumping version
uses: jpb06/bump-package@latest
with:
major-keywords: BREAKING CHANGE
minor-keywords: feat,minor
patch-keywords: fix,qol,refactor,perf,docs,style,ci,chore,test

- uses: actions/checkout@v3

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

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Build and push the Docker image
uses: mr-smithers-excellent/docker-build-push@v5
with:
image: xp-dashboard
tags: latest
tags: v${{ steps.package-version.outputs.current-version}}, latest
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xp-dashboard",
"version": "0.1.0",
"version": "2.0.20",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 01666f8

Please sign in to comment.