Skip to content

Commit

Permalink
Merge pull request #21 from semiotic-ai/force_build_container
Browse files Browse the repository at this point in the history
ci: Add workflow_dispatch option to force build
  • Loading branch information
aasseman authored May 16, 2023
2 parents 570782f + fc9b205 commit 7858978
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
branches:
- master
workflow_dispatch:
inputs:
force_build:
description: 'Force build even if no new version is available'
required: false
default: false
type: boolean

jobs:
release:
Expand Down Expand Up @@ -46,7 +53,7 @@ jobs:
container_build:
runs-on: ubuntu-latest
needs: release
if: needs.release.outputs.published == 'True'
if: needs.release.outputs.published == 'True' || github.event.inputs.force_build == 'true'
permissions:
packages: write

Expand Down

0 comments on commit 7858978

Please sign in to comment.