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/06/29 08:48:39 UTC
[airflow] 32/39: Use target commit SHA for build image workflow (#24659)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 0c55c721f2299d27f8aa8359750a0b666e1aafe0
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Sat Jun 25 23:34:11 2022 +0200
Use target commit SHA for build image workflow (#24659)
The build-image workflow should use TARGET_COMMIT_SHA as the
selective check COMMIT_REF otherwise it might not build
image when needed
(cherry picked from commit 2ffaebee255c73e7a137b55ac25b95c16e159d75)
---
.github/workflows/build-images.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml
index e28a9d7619..5c6b085b97 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -121,7 +121,7 @@ jobs:
id: selective-checks
env:
PR_LABELS: "$${{ steps.get-latest-pr-labels.outputs.pullRequestLabels }}"
- COMMIT_REF: "${{ github.sha }}"
+ COMMIT_REF: "${{ env.TARGET_COMMIT_SHA }}"
run: breeze selective-check
- name: Compute dynamic outputs
id: dynamic-outputs