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/01/23 17:20:34 UTC

[airflow] 03/04: Temporary disable pushing cache of images to ghcr.io

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

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

commit bb683950f508683f96ae8f588ae7719a34362c7a
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Jan 23 16:31:42 2022 +0100

    Temporary disable pushing cache of images to ghcr.io
    
    Some of our images we use for 2.2 branch lack write access
    for `airflow` Github Actions and we are trying to fix that with
    GitHub Support. Until then we will refresh the images manually
    when needed.
---
 .github/workflows/ci.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9da2304..1d2b474 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1313,10 +1313,13 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
       - build-info
       - constraints
       - docs
+    # Temporary disable pushing cache for non-main branch as some of our v2-2 packages lack write access
+    # For GitHub actions
+    if: "false"
     # Only run it for direct pushes and scheduled builds
-    if: >
-      (github.event_name == 'push' || github.event_name == 'schedule')
-      && github.repository == 'apache/airflow'
+    #    if: >
+    #      (github.event_name == 'push' || github.event_name == 'schedule')
+    #      && github.repository == 'apache/airflow'
     strategy:
       matrix:
         python-version: ${{ fromJson(needs.build-info.outputs.pythonVersions) }}