|
10 | 10 |
|
11 | 11 | # Allows you to run this workflow manually from the Actions tab
|
12 | 12 | workflow_dispatch:
|
| 13 | + inputs: |
| 14 | + custom_tag: |
| 15 | + description: 'Custom Docker tag (optional)' |
| 16 | + required: false |
| 17 | + default: '' |
13 | 18 |
|
14 | 19 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
15 | 20 | jobs:
|
|
74 | 79 | - 27017:27017
|
75 | 80 |
|
76 | 81 | container:
|
77 |
| - image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }} |
| 82 | + image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name || inputs.custom_tag }} |
78 | 83 | env:
|
79 | 84 | COUNTLY_CONFIG__MONGODB_HOST: mongodb
|
80 | 85 | COUNTLY_CONFIG_API_PREVENT_JOBS: true
|
@@ -131,7 +136,7 @@ jobs:
|
131 | 136 | - 27017:27017
|
132 | 137 |
|
133 | 138 | container:
|
134 |
| - image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }} |
| 139 | + image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name || inputs.custom_tag }} |
135 | 140 | env:
|
136 | 141 | COUNTLY_CONFIG__MONGODB_HOST: mongodb
|
137 | 142 | COUNTLY_CONFIG_API_PREVENT_JOBS: true
|
@@ -178,7 +183,7 @@ jobs:
|
178 | 183 | - 27017:27017
|
179 | 184 |
|
180 | 185 | container:
|
181 |
| - image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }} |
| 186 | + image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name || inputs.custom_tag }} |
182 | 187 | env:
|
183 | 188 | COUNTLY_CONFIG__MONGODB_HOST: mongodb
|
184 | 189 | COUNTLY_CONFIG_API_PREVENT_JOBS: true
|
@@ -231,7 +236,7 @@ jobs:
|
231 | 236 | - 27017:27017
|
232 | 237 |
|
233 | 238 | container:
|
234 |
| - image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }} |
| 239 | + image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name || inputs.custom_tag }} |
235 | 240 | env:
|
236 | 241 | COUNTLY_CONFIG__MONGODB_HOST: mongodb
|
237 | 242 | COUNTLY_CONFIG_API_PREVENT_JOBS: true
|
@@ -309,7 +314,7 @@ jobs:
|
309 | 314 | - 27017:27017
|
310 | 315 |
|
311 | 316 | container:
|
312 |
| - image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name }} |
| 317 | + image: countly/countly-core:pipelines-${{ github.base_ref || github.ref_name || inputs.custom_tag }} |
313 | 318 | env:
|
314 | 319 | COUNTLY_CONFIG__MONGODB_HOST: mongodb
|
315 | 320 | COUNTLY_CONFIG_API_PREVENT_JOBS: true
|
|
0 commit comments