Skip to content

Set project and build version to 2.2.5.15 #2281

Set project and build version to 2.2.5.15

Set project and build version to 2.2.5.15 #2281

# 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:
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: -DOC_DEBUG_ENABLED=ON -DOC_COLLECTIONS_IF_CREATE_ENABLED=ON -DOC_MNT_ENABLED=ON -DOC_OSCORE_ENABLED=OFF -DOC_RESOURCE_ACCESS_IN_RFOTM_ENABLED=ON -DPLGD_DEV_TIME_ENABLED=ON -DOC_ETAG_ENABLED=ON -DOC_SOFTWARE_UPDATE_ENABLED=ON ${{ matrix.build_args }}
file: ${{ matrix.file }}
build-and-push-dps-images:
strategy:
fail-fast: false
matrix:
include:
- name: dps-cloud-server
build_type: Release
build_args:
file: docker/apps/Dockerfile.dps-cloud-server
- name: dps-cloud-server-debug
build_type: Debug
build_args: -DOC_DEBUG_ENABLED=ON -DOC_LOG_MAXIMUM_LOG_LEVEL=DEBUG -DPLGD_DEV_DEVICE_PROVISIONING_MAXIMUM_LOG_LEVEL=DEBUG -DPLGD_DPS_CLOUD_SERVER_DBG_ENABLED=ON -DPLGD_DEV_DEVICE_PROVISIONING_TEST_PROPERTIES_ENABLED=ON
file: docker/apps/Dockerfile.dps-cloud-server
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 }}