Преглед изворни кода

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