|
73 | 73 | type=registry,ref=${{ secrets.DOCKER_USERNAME }}/pwpush:buildcache,mode=max,ignore-error=${{env.DOCKER_PUSH == 'false'}} |
74 | 74 | type=gha,mode=max |
75 | 75 |
|
| 76 | + - name: Post job failure details to Campfire |
| 77 | + if: failure() && github.ref == 'refs/heads/master' |
| 78 | + uses: shane-lamb/campfire-notify-action@v1.1.6 |
| 79 | + with: |
| 80 | + messages_url: ${{ secrets.CAMPFIRE_MESSAGES_URL }} |
| 81 | + template: job_failed |
| 82 | + |
76 | 83 |
|
77 | 84 | public-gateway-container: |
78 | 85 | if: github.event.label && github.event.label.name == 'docker' || github.event_name != 'pull_request_target' |
@@ -128,6 +135,13 @@ jobs: |
128 | 135 | type=registry,ref=${{ secrets.DOCKER_USERNAME }}/pwpush-public-gateway:buildcache,mode=max,ignore-error=${{env.DOCKER_PUSH == 'false'}} |
129 | 136 | type=gha,mode=max |
130 | 137 |
|
| 138 | + - name: Post job failure details to Campfire |
| 139 | + if: failure() && github.ref == 'refs/heads/master' |
| 140 | + uses: shane-lamb/campfire-notify-action@v1.1.6 |
| 141 | + with: |
| 142 | + messages_url: ${{ secrets.CAMPFIRE_MESSAGES_URL }} |
| 143 | + template: job_failed |
| 144 | + |
131 | 145 | worker-container: |
132 | 146 | if: github.event.label && github.event.label.name == 'docker' || github.event_name != 'pull_request_target' |
133 | 147 | needs: pwpush-container |
@@ -181,3 +195,10 @@ jobs: |
181 | 195 | cache-to: | |
182 | 196 | type=registry,ref=${{ secrets.DOCKER_USERNAME }}/pwpush-worker:buildcache,mode=max,ignore-error=${{env.DOCKER_PUSH == 'false'}} |
183 | 197 | type=gha,mode=max |
| 198 | +
|
| 199 | + - name: Post job failure details to Campfire |
| 200 | + if: failure() && github.ref == 'refs/heads/master' |
| 201 | + uses: shane-lamb/campfire-notify-action@v1.1.6 |
| 202 | + with: |
| 203 | + messages_url: ${{ secrets.CAMPFIRE_MESSAGES_URL }} |
| 204 | + template: job_failed |
0 commit comments