浏览代码

ci: rebuild and push the latest image on schedule

Rebuild and push the last commit of the default branch every monday at 00:00 UTC
Nicolas Duchon 4 年之前
父节点
当前提交
6613e272eb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/dockerhub.yml

+ 2 - 0
.github/workflows/dockerhub.yml

@@ -2,6 +2,8 @@ name: DockerHub
 
 on:
   workflow_dispatch:
+  schedule:
+    - cron: '0 0 * * 1'
   push:
     branches:
       - main