From 8aa2b49b6dc81022d2f23be52a71d2cf37667ccf Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Mon, 8 Apr 2024 11:34:47 +0100 Subject: [PATCH] Build the preview image every morning --- .github/workflows/build.yml | 3 +++ .github/workflows/remove-untagged.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f8ffb9..52f86fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,8 @@ name: Build and publish on: workflow_dispatch: + schedule: + - cron: "0 3 * * 3" # Build the preview image every Wednesday at 03:00 release: types: - published @@ -10,6 +12,7 @@ on: - main - feature/** paths: + - .github/** - docker/** - tests/** diff --git a/.github/workflows/remove-untagged.yml b/.github/workflows/remove-untagged.yml index b6ba64b..286fb3d 100644 --- a/.github/workflows/remove-untagged.yml +++ b/.github/workflows/remove-untagged.yml @@ -3,7 +3,7 @@ name: Remove untagged images on: workflow_dispatch: schedule: - - cron: "0 3 * * 1" + - cron: "0 4 * * *" # Every day at 04:00 jobs: remove-untagged: