ci: allow manual triggering of docker workflow

This commit is contained in:
peelz
2025-06-21 16:05:00 -04:00
parent c6fceb03c8
commit d4f61ad271

View File

@ -1,6 +1,7 @@
name: Build and Push Docker Image name: Build and Push Docker Image
on: on:
workflow_dispatch:
schedule: schedule:
# run every night at midnight # run every night at midnight
- cron: '0 0 * * *' - cron: '0 0 * * *'
@ -8,7 +9,7 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'Alexays/Waybar' if: github.event_name != 'schedule' || github.repository == 'Alexays/Waybar'
strategy: strategy:
fail-fast: false # don't fail the other jobs if one of the images fails to build fail-fast: false # don't fail the other jobs if one of the images fails to build
matrix: matrix: