This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-4-test by this push:
     new c6d33442e7 The PROD cache is pushed always in regular cache build step 
(#26254)
c6d33442e7 is described below

commit c6d33442e7e84593a45db909b4d82adff31d7611
Author: Jarek Potiuk <jarek.pot...@polidea.com>
AuthorDate: Thu Sep 8 23:39:20 2022 +0200

    The PROD cache is pushed always in regular cache build step (#26254)
    
    In v2-4-test it turned out that PROD cache build was a bit
    too limited - the cache has not been prepared if branch was not
    main (copy&paste victim). This PR fixes this - cache is always build
    in merge run regardless of the branch we are in.
    
    (cherry picked from commit 41785457d29154b7ee626713b1994fb2dc444615)
---
 .github/workflows/ci.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3167c45204..15c51466c4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1705,7 +1705,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
           --install-packages-from-context
           --prepare-buildx-cache
           --platform ${{ matrix.platform }}
-        if: needs.build-info.outputs.default-branch == 'main'
       - name: "Push PROD latest image ${{ matrix.platform }}"
         run: >
           breeze prod-image build --tag-as-latest 
--install-packages-from-context

Reply via email to