Skip to content

Commit

Permalink
schedule rebuilding the images daily
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 16, 2024
1 parent 307e8ee commit 3df8462
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and Publish Docker Images
on:
workflow_dispatch:
schedule:
- cron: "23 0 * * *"

jobs:
buildmatrix:
Expand Down Expand Up @@ -50,3 +52,13 @@ jobs:
${{ matrix.release.type == 'stable' && 'dokuwiki/dokuwiki:latest' || '' }}
build-args: |
DOKUWIKI_VERSION=${{ matrix.release.type == 'master' && 'master' || matrix.release.date }}
workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3df8462

Please sign in to comment.