ci: Add retry on failure
This commit is contained in:
@@ -95,4 +95,13 @@ jobs:
|
|||||||
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
|
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
|
||||||
- name: Inspect image
|
- name: Inspect image
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:dev
|
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
|
||||||
|
rerun-failed-jobs:
|
||||||
|
runs-on: [self-hosted]
|
||||||
|
needs: [ build, merge]
|
||||||
|
if: failure()
|
||||||
|
steps:
|
||||||
|
- name: Rerun failed jobs in the current workflow
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: gh run rerun ${{ github.run_id }} --failed
|
||||||
|
|||||||
Reference in New Issue
Block a user