mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
test matrix
This commit is contained in:
parent
94980a7531
commit
61290bd254
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -30,7 +30,8 @@ jobs:
|
|||||||
changed_files=$(git diff --name-only HEAD^ HEAD)
|
changed_files=$(git diff --name-only HEAD^ HEAD)
|
||||||
app_list=$(echo "$changed_files" | grep -E 'docker/.*/(Dockerfile)' | awk -F'/' '{print $2}' | sort | uniq)
|
app_list=$(echo "$changed_files" | grep -E 'docker/.*/(Dockerfile)' | awk -F'/' '{print $2}' | sort | uniq)
|
||||||
app_list_json=$(echo $app_list | jq -R -s -c 'split(" ")')
|
app_list_json=$(echo $app_list | jq -R -s -c 'split(" ")')
|
||||||
echo "MATRIX={\"app\": $app_list_json}" >> $GITHUB_ENV
|
MATRIX={\"app\": $app_list_json}
|
||||||
|
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: setup
|
needs: setup
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# This file can running at actions
|
# This file can running at actions
|
||||||
# modify time: 202312110819, you can modify here to trigger Docker Build action
|
# modify time: 202312110848, you can modify here to trigger Docker Build action
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10-slim-bullseye
|
||||||
|
Loading…
Reference in New Issue
Block a user