From 61290bd2548e3f3845723bc50e6141dca1e74f1f Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Mon, 11 Dec 2023 08:48:28 +0800 Subject: [PATCH] test matrix --- .github/workflows/docker.yml | 3 ++- docker/apphub/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f5108040..14b31ace 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,7 +30,8 @@ jobs: 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_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: needs: setup diff --git a/docker/apphub/Dockerfile b/docker/apphub/Dockerfile index 9974d1e3..d8410e2c 100644 --- a/docker/apphub/Dockerfile +++ b/docker/apphub/Dockerfile @@ -1,5 +1,5 @@ # 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