Skip to content

Commit 1cb8824

Browse files
committed
Enable scheduled Docker image builds
Uncomments the workflow schedule to trigger daily Docker image rebuilds at 04:12 UTC, improving automation and keeping images up to date.
1 parent 78ef096 commit 1cb8824

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ name: Publish Docker image
1111

1212
on:
1313
workflow_dispatch: # allows manual triggering
14-
# NOTE:个人仓库禁止按一定时间周期运行该workflow
15-
#schedule:
16-
# # Rebuild daily rather than on every push because it is expensive
17-
# - cron: '12 4 * * *'
14+
schedule:
15+
# Rebuild daily rather than on every push because it is expensive
16+
- cron: '12 4 * * *'
1817

1918
concurrency:
2019
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}

0 commit comments

Comments
 (0)