Преглед на файлове

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