mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 17:25:00 +03:00
ci: Add retry on failure
This commit is contained in:
@@ -95,4 +95,13 @@ jobs:
|
||||
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
|
||||
- name: Inspect image
|
||||
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