|
54 | 54 | --arg dkr "./backend/user/express.Dockerfile" \
|
55 | 55 | --arg bag "port=$USER_EXPRESS_PORT" \
|
56 | 56 | '{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
|
57 |
| - ) |
58 | 57 | matrix+=("$config")
|
59 | 58 | fi
|
60 | 59 | if [[ "${{ steps.filter.outputs.question }}" == "true" || "$is_main" == "true" ]]; then
|
|
65 | 64 | --arg dkr "./backend/question/express.Dockerfile" \
|
66 | 65 | --arg bag "port=$QUESTION_EXPRESS_PORT" \
|
67 | 66 | '{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
|
68 |
| - ) |
69 | 67 | matrix+=("$config")
|
70 | 68 | fi
|
71 | 69 | if [[ "${{ steps.filter.outputs.collaboration }}" == "true" || "$is_main" == "true" ]]; then
|
|
76 | 74 | --arg dkr "./backend/collaboration/express.Dockerfile" \
|
77 | 75 | --arg bag "port=$COLLAB_EXPRESS_PORT" \
|
78 | 76 | '{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
|
79 |
| - ) |
80 | 77 | matrix+=("$config")
|
81 | 78 | fi
|
82 | 79 | if [[ "${{ steps.filter.outputs.matching }}" == "true" || "$is_main" == "true" ]]; then
|
|
87 | 84 | --arg dkr "./backend/matching/express.Dockerfile" \
|
88 | 85 | --arg bag "port=$MATCH_EXPRESS_PORT" \
|
89 | 86 | '{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
|
90 |
| - ) |
91 | 87 | matrix+=("$config")
|
92 | 88 | fi
|
93 | 89 | if [[ "${{ steps.filter.outputs.frontend }}" == "true" || "$is_main" == "true" ]]; then
|
|
98 | 94 | --arg dkr "./frontend/express.Dockerfile" \
|
99 | 95 | --arg bag "port=$FRONTEND_PORT" \
|
100 | 96 | '{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
|
101 |
| - ) |
102 | 97 | matrix+=("$config")
|
103 | 98 | fi
|
104 | 99 | formatted_matrix=$(echo "[${matrix[*]}]" | jq -c .)
|
|
0 commit comments