test docker build

This commit is contained in:
Darren 2023-12-11 09:51:14 +08:00 committed by GitHub
parent 3be6a99138
commit 04480cabed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ jobs:
run: |
git diff --name-only HEAD^ HEAD
changed_files=$(git diff --name-only HEAD^ HEAD)
app_list=$(echo "$changed_files" | grep -E 'apps/.*/(Dockerfile|cmd.sh|entrypoint.sh)' | awk -F'/' '{print $2}' | sort | uniq)
app_list=$(echo "$changed_files" | grep -E 'apps/.*/(Dockerfile)' | awk -F'/' '{print $2}' | sort | uniq)
if [ -z "$app_list" ]; then
app_list_json='[]'
else

View File

@ -1,5 +1,5 @@
# This file can running at actions
# modify time: 202312110949, you can modify here to trigger Docker Build action
# modify time: 202312110950, you can modify here to trigger Docker Build action
FROM python:3.10-slim-bullseye