Skip to content

Commit ecce8e0

Browse files
Merge pull request #23 from hanthor/skip-update-check
Allow workfow_dispatch to force build
2 parents 8894d46 + b42eb25 commit ecce8e0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/actions/shared-steps/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
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

0 commit comments

Comments
 (0)