Skip to content

use 9 as settings hotkey and retain 0 as browser defauly #118

use 9 as settings hotkey and retain 0 as browser defauly

use 9 as settings hotkey and retain 0 as browser defauly #118

Workflow file for this run

name: deploy-beta
on:
push:
branches: [ dev ]
jobs:
publish:
permissions:
contents: write
packages: write
attestations: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for release notes
- name: Install Node and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- run: git fetch --all --tags
- name: Version Check
uses: thebongy/version-check@v2
with:
file: package.json
tagFormat: v${version}
failBuild: false
id: version_check
- name: Set up QEMU for multi-platform builds
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install
run: npm install
- name: Set repository name lowercase
run: |
echo "REPO_LOWER=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Build & Push Multi-Architecture Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
ghcr.io/${{ env.REPO_LOWER }}-beta:latest
ghcr.io/${{ env.REPO_LOWER }}-beta:v${{ steps.version_check.outputs.rawVersion }}