From 0776e6771f13ceaf575ebd9caa726dcd4ffdbee3 Mon Sep 17 00:00:00 2001 From: Sean D Gillespie Date: Tue, 5 Mar 2024 14:11:14 -0500 Subject: [PATCH] feature(ci): Run docker build on all pushes --- .github/workflows/release-ghcr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-ghcr.yml b/.github/workflows/release-ghcr.yml index 4f7f79c21..9cca66acd 100644 --- a/.github/workflows/release-ghcr.yml +++ b/.github/workflows/release-ghcr.yml @@ -4,10 +4,12 @@ on: release: types: - published - push: - tags: - - '**' + push: {} + pull_request: {} workflow_dispatch: {} + schedule: + # Everyday at 4:00 AM UTC + - cron: "0 4 * * *" env: REGISTRY: ghcr.io @@ -46,6 +48,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Upload to ghcr.io + if: ${{ github.ref_type == 'tags' || github.event_name == 'release' }} run: | # Downcase the package repository, because docker reference # are required to be lower case