Skip to content

Merge pull request #59 from xp-bot/development #30

Merge pull request #59 from xp-bot/development

Merge pull request #59 from xp-bot/development #30

Workflow file for this run

name: Deploy Live Docker Image
on:
push:
branches:
- production
workflow_dispatch:
jobs:
deploy:
name: Deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bumping version
uses: jpb06/bump-package@latest
with:
major-keywords: BREAKING CHANGE
minor-keywords: major
patch-keywords: feat,fix,qol,refactor,perf,docs,style,ci,chore,test
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- 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: v${{ steps.package-version.outputs.current-version}}, latest
# tags: latest
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}