Browse Source

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 năm trước cách đây
mục cha
commit
6613e272eb
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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