Manual slack app build #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: Manual slack app build | |
on: | |
workflow_dispatch: | |
inputs: | |
commitish: | |
description: Override the commit-ish to build (defaults to HEAD of the selected branch) | |
required: false | |
default: "" | |
type: string | |
override_latest: | |
description: Whether to override the latest tag in the image registry | |
required: true | |
default: false | |
type: boolean | |
version: | |
description: The version to publish (no "v" prefix, leave empty to publish under the commit hash of commitish) | |
required: false | |
default: "" | |
type: string | |
jobs: | |
create-build: | |
uses: ./.github/workflows/build.yml | |
with: | |
commitish: ${{ inputs.commitish || github.sha }} | |
override_latest: ${{ inputs.override_latest }} | |
version: ${{ inputs.version }} | |
secrets: | |
AUTOMETRICS_DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
AUTOMETRICS_DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} |