Add workflow dispatch for docker builds (#355)

This commit is contained in:
Zoe Roux 2024-03-25 02:26:59 +01:00 committed by GitHub
commit 6485c733bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ on:
tags:
- v*
pull_request:
workflow_dispatch:
jobs:
build:
@ -73,7 +74,7 @@ jobs:
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
if: steps.filter.outputs.should_run == 'true'
if: steps.filter.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
with:
context: ${{matrix.context}}
platforms: linux/amd64,linux/arm64