Skip to content

Commit e5dce8e

Browse files
authored
Merge pull request #111 from home-assistant-libs/use-base-branch-container-for-prs
Use build container from base branch
2 parents d0e0e9b + f94c14c commit e5dce8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ jobs:
106106
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^Dockerfile'; then
107107
echo "Dockerfile or related files changed; building container."
108108
build_needed=true
109+
else
110+
echo "No changes to Dockerfile; using container from base branch."
111+
tag="${{ github.base_ref }}"
109112
fi
110113
fi
111114
fi

0 commit comments

Comments
 (0)