Skip to content

Commit 621382d

Browse files
committed
ci: aggregate all builds with guardian
1 parent 1d86882 commit 621382d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/docker-builds.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,17 @@ jobs:
5050
push: ${{ github.ref == 'refs/heads/master' }}
5151
tags: borda/docker_python-opencv-ffmpeg:${{ matrix.device }}-py${{ matrix.python_version }}-cv${{ matrix.opencv_version }}
5252
timeout-minutes: 240
53+
54+
build-guardian:
55+
runs-on: ubuntu-latest
56+
needs: build-push
57+
if: always()
58+
steps:
59+
- run: echo "${{ needs.build-push.result }}"
60+
- name: failing...
61+
if: needs.build-push.result == 'failure'
62+
run: exit 1
63+
- name: cancelled or skipped...
64+
if: contains(fromJSON('["cancelled", "skipped"]'), needs.build-push.result)
65+
timeout-minutes: 1
66+
run: sleep 90

0 commit comments

Comments
 (0)