Skip to content

Commit b2c3153

Browse files
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

File tree

.github/workflows/docker_images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ jobs:
635635
tags: ${{ steps.cudaqdev_metadata.outputs.tags }}
636636
labels: ${{ steps.cudaqdev_metadata.outputs.labels }}
637637
platforms: ${{ inputs.platforms }}
638-
push: true
638+
push: ${{ inputs.environment != '' }}
639639

640640
- name: Extract ccache from release build
641641
timeout-minutes: 15

0 commit comments

Comments
 (0)