From 54eec67b8067f541a599af162eb254bb3d7d6c07 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Wed, 18 Sep 2024 22:45:39 -0700 Subject: [PATCH] Enable scheduled nightly container rebuilds --- .github/workflows/fedora-ci.yml | 2 +- .github/workflows/nightly-update.yml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/nightly-update.yml diff --git a/.github/workflows/fedora-ci.yml b/.github/workflows/fedora-ci.yml index 7eee7a3..f433dec 100644 --- a/.github/workflows/fedora-ci.yml +++ b/.github/workflows/fedora-ci.yml @@ -8,5 +8,5 @@ jobs: uses: ./.github/workflows/build-image.yml with: image_name: "fedora-ci" - tags: unstable ${{ github.sha }} + tags: unstable branch: main diff --git a/.github/workflows/nightly-update.yml b/.github/workflows/nightly-update.yml new file mode 100644 index 0000000..92793ed --- /dev/null +++ b/.github/workflows/nightly-update.yml @@ -0,0 +1,20 @@ +name: Update all images +on: + schedule: + # Every day at 2:49 AM + - cron: "49 2 * * *" + +jobs: + fedora-ci-40: + uses: ./.github/workflows/build-image.yml + with: + image_name: "fedora-ci" + tags: "40" + branch: f40 + + fedora-ci-unstable: + uses: ./.github/workflows/build-image.yml + with: + image_name: "fedora-ci" + tags: unstable + branch: main