Commit b2c3153
committed
fix(ci): fix docker_image job failing on workflow_dispatch
The 'Build cuda-quantum-dev image (release)' step in the cudaq_image
job had `push: true` hardcoded, introduced in efcaf5b when ccache
support was added. Every other push directive in docker_images.yml uses
`push: ${{ inputs.environment != '' }}`.
The unconditional push caused the step to attempt a registry push even
during CI-only workflow_dispatch runs where no external registry is
configured, failing the docker_image matrix job and tripping the
ci_summary aggregator with n_fail=1.
Fix: make the push conditional on inputs.environment, consistent with
the other three push directives in the same file (lines 190, 368, 722).
Signed-off-by: Dr Chamyoung 医者 <alokads06@gmail.com>1 parent 17afa55 commit b2c3153
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
0 commit comments