Skip to content

Manual Build

Manual Build #65

Workflow file for this run

name: Manual Build
on:
workflow_dispatch:
inputs:
list:
description: 'Comma-separated list of directories in the form: ["dir1", "dir2"]'
required: true
default: ''
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
directory: ${{ fromJSON(github.event.inputs.list) }}
if: ${{ github.event.inputs.list != '' && github.event.inputs.list != '[]' }}
steps:
- uses: polymathrobotics/container-build-publish-action@main
with:
workdir: ${{ matrix.directory }}
dockerhub-username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
dockerhub-password: ${{ secrets.CONTAINER_DESCRIPTION_PASSWORD }}