File tree Expand file tree Collapse file tree
.github/actions/shared-steps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 echo "Exit code: '$res'"
5858
5959 - name : Build image
60- if : ${{ env.res != 0 }}
60+ if : ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
6161 shell : bash
6262 run : |
6363 make image \
@@ -66,17 +66,17 @@ runs:
6666 VERSION_MAJOR=${{ inputs.VERSION_MAJOR }}
6767
6868 - name : Run Image
69- if : ${{ env.res != 0 }}
69+ if : ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
7070 shell : bash
7171 run : sudo podman run --rm -ti ${{ env.IMAGE_NAME }} bootc --version
7272
7373 - name : Log in to registry
74- if : ${{ env.res != 0 }}
74+ if : ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
7575 shell : bash
7676 run : sudo podman login ${{ inputs.IMAGE_REGISTRY }} -u ${{ inputs.REGISTRY_USER }} -p ${{ inputs.REGISTRY_PASSWORD }}
7777
7878 - name : Push to registry
79- if : ${{ env.res != 0 }}
79+ if : ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
8080 shell : bash
8181 run : |
8282 # Tag: VERSION_MAJOR.VERSION_MINOR-DATE_STAMP-ARCH
You can’t perform that action at this time.
0 commit comments