Skip to content

Commit ecf938b

Browse files
committed
feat/ci: Add main branch matrix
Signed-off-by: SeeuSim <[email protected]>
1 parent 995d053 commit ecf938b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/build-docker.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
--arg dkr "./backend/user/express.Dockerfile" \
5555
--arg bag "port=$USER_EXPRESS_PORT" \
5656
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
57-
)
5857
matrix+=("$config")
5958
fi
6059
if [[ "${{ steps.filter.outputs.question }}" == "true" || "$is_main" == "true" ]]; then
@@ -65,7 +64,6 @@ jobs:
6564
--arg dkr "./backend/question/express.Dockerfile" \
6665
--arg bag "port=$QUESTION_EXPRESS_PORT" \
6766
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
68-
)
6967
matrix+=("$config")
7068
fi
7169
if [[ "${{ steps.filter.outputs.collaboration }}" == "true" || "$is_main" == "true" ]]; then
@@ -76,7 +74,6 @@ jobs:
7674
--arg dkr "./backend/collaboration/express.Dockerfile" \
7775
--arg bag "port=$COLLAB_EXPRESS_PORT" \
7876
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
79-
)
8077
matrix+=("$config")
8178
fi
8279
if [[ "${{ steps.filter.outputs.matching }}" == "true" || "$is_main" == "true" ]]; then
@@ -87,7 +84,6 @@ jobs:
8784
--arg dkr "./backend/matching/express.Dockerfile" \
8885
--arg bag "port=$MATCH_EXPRESS_PORT" \
8986
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
90-
)
9187
matrix+=("$config")
9288
fi
9389
if [[ "${{ steps.filter.outputs.frontend }}" == "true" || "$is_main" == "true" ]]; then
@@ -98,7 +94,6 @@ jobs:
9894
--arg dkr "./frontend/express.Dockerfile" \
9995
--arg bag "port=$FRONTEND_PORT" \
10096
'{package: $pkg, image: $img, context: $ctx, dockerfile: $dkr, "build-args": $bag}')
101-
)
10297
matrix+=("$config")
10398
fi
10499
formatted_matrix=$(echo "[${matrix[*]}]" | jq -c .)

0 commit comments

Comments
 (0)