42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Publish Cirrus container
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
branches: ['UE5.5']
|
|
paths: ['SignallingWebServer/**']
|
|
|
|
jobs:
|
|
signalling-server-image:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v3
|
|
-
|
|
name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
-
|
|
name: Build and push the Signalling Server container image
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: .
|
|
tags: 'ghcr.io/epicgames/pixel-streaming-signalling-server:5.5'
|
|
push: true
|
|
file: SignallingWebServer/Dockerfile
|
|
-
|
|
name: Build and push the SFU container image
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: .
|
|
tags: 'ghcr.io/epicgames/pixel-streaming-sfu:5.5'
|
|
push: true
|
|
file: SFU/Dockerfile
|
|
|