Skip to content

Custom Docker and Binary #567

Custom Docker and Binary

Custom Docker and Binary #567

Workflow file for this run

name: Custom Docker and Binary
on:
workflow_dispatch:
inputs:
branch_name:
description: 'Branch name'
default: ''
required: true
image_version:
description: 'Image version for docker hub'
default: ''
required: true
cmake_options:
description: 'Additional cmake options'
default: ''
required: false
build_type:
description: 'Build type of skaled binary'
type: choice
required: true
options:
- Debug
- RelWithDebInfo
default: RelWithDebInfo
jobs:
core_build:
uses: ./.github/workflows/setup-build-publish.yml
with:
image_version: ${{ github.event.inputs.image_version }}
branch_name: ${{ github.event.inputs.branch_name }}
cmake_options: ${{ github.event.inputs.cmake_options }}
build_type: ${{ github.event.inputs.build_type }}
node_type: core
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
historic_build:
uses: ./.github/workflows/setup-build-publish.yml
with:
image_version: ${{ github.event.inputs.image_version }}
branch_name: ${{ github.event.inputs.branch_name }}
cmake_options: ${{ github.event.inputs.cmake_options }}
build_type: ${{ github.event.inputs.build_type }}
node_type: historic
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}