Allow workflow_dispatch with inputs, reset default to docker, and fix… #2
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: Test Docker Build | |
on: | |
push: | |
branches: | |
- feature/multi-arch-docker | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Version of the Salesforce CLI to build' | |
required: true | |
default: '0.0.1a1' | |
channel: | |
description: 'Channel to use for the Docker image' | |
required: true | |
default: 'latest' | |
registry: | |
description: 'Container registry to use' | |
required: true | |
default: 'ghcr' | |
jobs: | |
call-build-docker-images: | |
uses: ./.github/workflows/build-docker.yml | |
with: | |
version: ${{ github.event.inputs.version }} | |
channel: ${{ github.event.inputs.channel }} | |
registry: ${{ github.event.inputs.registry }} |