You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/09/08 21:39:30 UTC
[airflow] branch main updated: The PROD cache is pushed always in regular cache build step (#26254)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 41785457d2 The PROD cache is pushed always in regular cache build step (#26254)
41785457d2 is described below
commit 41785457d29154b7ee626713b1994fb2dc444615
Author: Jarek Potiuk <ja...@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.
---
.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