Skip to content

FCE-811/use room service plugin (#68) #2

FCE-811/use room service plugin (#68)

FCE-811/use room service plugin (#68) #2

name: Build and Push Room Manager Multiplatform Image
on:
push:
branches: [main]
paths:
- 'examples/room-manager/**'
workflow_dispatch:
jobs:
build-and-push-multiplatform-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
file: examples/room-manager/Dockerfile
platforms: linux/amd64, linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ghcr.io/${{ github.repository }}/room-manager:latest