Skip to content

Upgrade niimbluelib and vite #74

Upgrade niimbluelib and vite

Upgrade niimbluelib and vite #74

name: Publish a Docker image
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: github.repository == 'MultiMote/niimblue'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/multimote/niimblue:latest,ghcr.io/multimote/niimblue:gh-${{github.sha}}