From 1106ec7798853c8dd8a877e56c3cc444bb653b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Gonz=C3=A1lez=20Santamarta?= Date: Sun, 1 Dec 2024 19:29:28 +0100 Subject: [PATCH] cron added to docker build workflow --- .github/workflows/humble-docker-build.yml | 8 ++++++-- .github/workflows/humble-docker-push.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/humble-docker-build.yml b/.github/workflows/humble-docker-build.yml index 5ab074c..d967660 100644 --- a/.github/workflows/humble-docker-build.yml +++ b/.github/workflows/humble-docker-build.yml @@ -1,6 +1,10 @@ name: Humble Docker Build -on: [push, pull_request] +on: + push: + pull_request: + schedule: + - cron: "0 5 * * 1" jobs: humble_docker_build: @@ -9,7 +13,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Docker Buildx + - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build docker diff --git a/.github/workflows/humble-docker-push.yml b/.github/workflows/humble-docker-push.yml index b68a4be..924d2f5 100644 --- a/.github/workflows/humble-docker-push.yml +++ b/.github/workflows/humble-docker-push.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Docker Buildx + - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub