mirror of
https://github.com/termux/termux-packages
synced 2024-06-15 21:56:37 +00:00
CI: Build custom Docker image properly
when `scripts/properties.sh` is modified.
This commit is contained in:
parent
2b22dbbb93
commit
18d9ee845e
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
|
@ -75,7 +75,7 @@ jobs:
|
|||
|
||||
# Build local Docker image if setup scripts were changed.
|
||||
# Useful for pull requests submitting changes for both build environment and packages.
|
||||
if grep -qP '^scripts/(Dockerfile|setup-android-sdk\.sh|setup-ubuntu\.sh)$' <<< "$CHANGED_FILES"; then
|
||||
if grep -qP '^scripts/(Dockerfile|properties\.sh|setup-android-sdk\.sh|setup-ubuntu\.sh)$' <<< "$CHANGED_FILES"; then
|
||||
echo "Detected changes for environment setup scripts. Building custom Docker image now."
|
||||
cd ./scripts
|
||||
docker build -t ghcr.io/termux/package-builder:latest .
|
||||
|
|
Loading…
Reference in New Issue
Block a user