Custom Docker and Binary #576
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |