Skip to content

Commit f9093d4

Browse files
committed
fix: container build should run on scheduled CI
Signed-off-by: Pablo Garay <[email protected]>
1 parent df73f86 commit f9093d4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/cicd-main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
permissions:
2828
id-token: write
2929
contents: read
30+
statuses: write
3031

3132
jobs:
3233
pre-flight:
@@ -46,7 +47,15 @@ jobs:
4647
4748
cicd-container-build:
4849
uses: ./.github/workflows/_build_container.yml
49-
needs: cicd-wait-in-queue
50+
needs: [pre-flight, cicd-wait-in-queue]
51+
if: |
52+
(
53+
success()
54+
|| needs.pre-flight.outputs.is_ci_workload == 'true'
55+
|| needs.pre-flight.outputs.force_run_all == 'true'
56+
)
57+
&& needs.pre-flight.outputs.docs_only == 'false'
58+
&& !cancelled()
5059
with:
5160
image-name: emerging_optimizers
5261
dockerfile: docker/Dockerfile.ci

0 commit comments

Comments
 (0)