Skip to content

Merge pull request #72 from acvigue/renovate/mqtt-5.x-lockfile #155

Merge pull request #72 from acvigue/renovate/mqtt-5.x-lockfile

Merge pull request #72 from acvigue/renovate/mqtt-5.x-lockfile #155

Workflow file for this run

name: Publish Docker image
on:
push:
branches: [main]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Install QEMU
uses: docker/setup-qemu-action@v3
- name: Registry Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Build
uses: docker/build-push-action@v5
with:
push: true
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64
tags: ghcr.io/${{ github.repository_owner }}/smartmatrixserver:main
cache-from: type=gha
cache-to: type=gha,mode=max