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 2024/03/17 23:02:34 UTC

(airflow) branch fix-docker-cache-input-name created (now 6b7ca1d2eb)

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

potiuk pushed a change to branch fix-docker-cache-input-name
in repository https://gitbox.apache.org/repos/asf/airflow.git


      at 6b7ca1d2eb Fix docker-cache input name

This branch includes the following new commits:

     new 6b7ca1d2eb Fix docker-cache input name

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(airflow) 01/01: Fix docker-cache input name

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch fix-docker-cache-input-name
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 6b7ca1d2eb3828dd4ec4b43fcd0d4ec896bd7862
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Mar 18 00:00:06 2024 +0100

    Fix docker-cache input name
    
    The docker-cache  after separation of workflow has been
    wrongly referred to as cache-directive. This causes slower image
    builds than could be.
---
 .github/workflows/ci-image-build.yml   | 2 +-
 .github/workflows/prod-image-build.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-image-build.yml b/.github/workflows/ci-image-build.yml
index 8d26c6d2c7..c3945251e9 100644
--- a/.github/workflows/ci-image-build.yml
+++ b/.github/workflows/ci-image-build.yml
@@ -139,7 +139,7 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
           --python "${{ matrix.python-version }}"
           --platform "linux/${{ inputs.platform }}"
         env:
-          DOCKER_CACHE: ${{ inputs.cache-directive }}
+          DOCKER_CACHE: ${{ inputs.docker-cache }}
           INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}
           UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/prod-image-build.yml b/.github/workflows/prod-image-build.yml
index 2d59ca45b7..aa4ffc84ce 100644
--- a/.github/workflows/prod-image-build.yml
+++ b/.github/workflows/prod-image-build.yml
@@ -180,7 +180,7 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
           --use-constraints-for-context-packages --python "${{ matrix.python-version }}"
         env:
           PUSH: ${{ inputs.push-image }}
-          DOCKER_CACHE: ${{ inputs.cache-directive }}
+          DOCKER_CACHE: ${{ inputs.docker-cache }}
           DEBIAN_VERSION: ${{ inputs.debian-version }}
           INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}
           UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}
@@ -196,7 +196,7 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
           --use-constraints-for-context-packages --python "${{ matrix.python-version }}"
         env:
           PUSH: ${{ inputs.push-image }}
-          DOCKER_CACHE: ${{ inputs.cache-directive }}
+          DOCKER_CACHE: ${{ inputs.docker-cache }}
           DEBIAN_VERSION: ${{ inputs.debian-version }}
           INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}
           UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}