Skip to content

Implement Message Queue Limit to Prevent Memory Exhaustion in Embedded Devices #2170

Implement Message Queue Limit to Prevent Memory Exhaustion in Embedded Devices

Implement Message Queue Limit to Prevent Memory Exhaustion in Embedded Devices #2170

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Create and publish docker images
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'master' }}
on:
push:
branches:
- "master"
tags:
- "*"
pull_request:
branches:
- master
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build-and-push-images:
strategy:
fail-fast: false
matrix:
include:
- name: cloud-server
build_type: Release
build_args: ""
file: docker/apps/Dockerfile.cloud-server
- name: cloud-server-debug
build_type: Debug
build_args: ""
file: docker/apps/Dockerfile.cloud-server-debug
- name: cloud-server-discovery-resource-observable
build_type: Release
build_args: "-DOC_DISCOVERY_RESOURCE_OBSERVABLE_ENABLED=ON"
file: docker/apps/Dockerfile.cloud-server
- name: cloud-server-discovery-resource-observable-debug
build_type: Debug
build_args: "-DOC_DISCOVERY_RESOURCE_OBSERVABLE_ENABLED=ON"
file: docker/apps/Dockerfile.cloud-server-debug
uses: ./.github/workflows/docker-build-publish-with-cfg.yml
with:
name: ${{ matrix.name }}
build_type: ${{ matrix.build_type }}
build_args: ${{ matrix.build_args }}
file: ${{ matrix.file }}