From 6df252c99b0893fc0b92e66214bacfa5a9576fb2 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:35:45 -0800 Subject: [PATCH] Chore: Build fix- branches (#5501) --- .github/workflows/ci.yml | 2 +- .github/workflows/cleanup-tags.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0735c7a6e..146acd0ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -310,7 +310,7 @@ jobs: build-docker-image: name: Build Docker image for ${{ github.ref_name }} runs-on: ubuntu-22.04 - if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || contains(github.ref, 'beta.rc') || startsWith(github.ref, 'refs/tags/v')) + if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || startsWith(github.ref, 'refs/heads/fix-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || contains(github.ref, 'beta.rc') || startsWith(github.ref, 'refs/tags/v')) concurrency: group: ${{ github.workflow }}-build-docker-image-${{ github.ref_name }} cancel-in-progress: true diff --git a/.github/workflows/cleanup-tags.yml b/.github/workflows/cleanup-tags.yml index 5d3d0604c..1207d688b 100644 --- a/.github/workflows/cleanup-tags.yml +++ b/.github/workflows/cleanup-tags.yml @@ -41,7 +41,7 @@ jobs: package_name: "${{ matrix.primary-name }}" scheme: "branch" repo_name: "paperless-ngx" - match_regex: "feature-" + match_regex: "(feature|fix)" do_delete: "true" cleanup-untagged-images: