From 519e4e698c6161e1cf1a44b3c4028131d7427649 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sun, 2 Aug 2026 20:38:41 -0400 Subject: [PATCH] Begin releasing on schedule --- .../{docker.yml => publish-docker-image.yaml} | 6 ++---- .github/workflows/release-on-schedule.yml | 12 ++++++++++++ .github/workflows/release-on-tag.yml | 11 +++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) rename .github/workflows/{docker.yml => publish-docker-image.yaml} (98%) create mode 100644 .github/workflows/release-on-schedule.yml create mode 100644 .github/workflows/release-on-tag.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/publish-docker-image.yaml similarity index 98% rename from .github/workflows/docker.yml rename to .github/workflows/publish-docker-image.yaml index f0579e7..ab3f6c1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/publish-docker-image.yaml @@ -1,9 +1,7 @@ -name: Build Docker +name: Build Docker Images on: - push: - tags: - - '*' + workflow_call: jobs: sqlite: diff --git a/.github/workflows/release-on-schedule.yml b/.github/workflows/release-on-schedule.yml new file mode 100644 index 0000000..de4e426 --- /dev/null +++ b/.github/workflows/release-on-schedule.yml @@ -0,0 +1,12 @@ +name: Release (Monthly) + +on: + workflow_dispatch: + schedule: + # On the 15th of the month + - cron: '30 5 15 * *' + +jobs: + release: + uses: GothenburgBitFactory/taskchampion-sync-server/.github/workflows/publish-docker-image.yaml + secrets: inherit diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml new file mode 100644 index 0000000..14e7af5 --- /dev/null +++ b/.github/workflows/release-on-tag.yml @@ -0,0 +1,11 @@ +name: Release (Tag) + +on: + push: + tags: + - '*' + +jobs: + release: + uses: GothenburgBitFactory/taskchampion-sync-server/.github/workflows/publish-docker-image.yaml + secrets: inherit