|
45 | 45 | id: set-matrix
|
46 | 46 | run: |
|
47 | 47 | matrix=()
|
48 |
| - if [[ "${{ steps.filter.outputs.user }}" == "true" ]] || [[ "${{ contains(github.ref, 'main') }}" == "true" ]]; then |
| 48 | + if [[ "${{ steps.filter.outputs.user || contains(github.ref, 'main') }}" == "true" ]]; then |
49 | 49 | matrix+=("{
|
50 | 50 | \"package\": \"user\",
|
51 | 51 | \"image\": \"$DOCKER_REGISTRY_USN/user-express\",
|
|
54 | 54 | \"build-args\": \"port=$USER_EXPRESS_PORT\"
|
55 | 55 | }")
|
56 | 56 | fi
|
57 |
| - if [[ "${{ steps.filter.outputs.question }}" == "true" ]] || [[ "${{ contains(github.ref, 'main') }}" == "true" ]]; then |
| 57 | + if [[ "${{ steps.filter.outputs.question || contains(github.ref, 'main') }}" == "true" ]]; then |
58 | 58 | matrix+=("{
|
59 | 59 | \"package\": \"question\",
|
60 | 60 | \"image\": \"$DOCKER_REGISTRY_USN/question-express\",
|
|
63 | 63 | \"build-args\": \"port=$QUESTION_EXPRESS_PORT\"
|
64 | 64 | }")
|
65 | 65 | fi
|
66 |
| - if [[ "${{ steps.filter.outputs.collaboration }}" == "true" ]] || [[ "${{ contains(github.ref, 'main') }}" == "true" ]]; then |
| 66 | + if [[ "${{ steps.filter.outputs.collaboration || contains(github.ref, 'main') }}" == "true" ]]; then |
67 | 67 | matrix+=("{
|
68 | 68 | \"package\": \"collaboration\",
|
69 | 69 | \"image\": \"$DOCKER_REGISTRY_USN/collab-express\",
|
|
72 | 72 | \"build-args\": \"port=$COLLAB_EXPRESS_PORT\"
|
73 | 73 | }")
|
74 | 74 | fi
|
75 |
| - if [[ "${{ steps.filter.outputs.matching }}" == "true" ]] || [[ "${{ contains(github.ref, 'main') }}" == "true" ]]; then |
| 75 | + if [[ "${{ steps.filter.outputs.matching || contains(github.ref, 'main') }}" == "true" ]]; then |
76 | 76 | matrix+=("{
|
77 | 77 | \"package\": \"matching\",
|
78 | 78 | \"image\": \"$DOCKER_REGISTRY_USN/match-express\",
|
|
81 | 81 | \"build-args\": \"port=$MATCH_EXPRESS_PORT\"
|
82 | 82 | }")
|
83 | 83 | fi
|
84 |
| - if [[ "${{ steps.filter.outputs.frontend }}" == "true" ]] || [[ "${{ contains(github.ref, 'main') }}" == "true" ]]; then |
| 84 | + if [[ "${{ steps.filter.outputs.frontend || contains(github.ref, 'main') }}" == "true" ]]; then |
85 | 85 | matrix+=("{
|
86 | 86 | \"package\": \"frontend\",
|
87 | 87 | \"image\": \"$DOCKER_REGISTRY_USN/frontend\",
|
|
0 commit comments