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 }}