Skip to content

Commit

Permalink
ci: Add retry on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-hiller committed Dec 20, 2023
1 parent ede56e1 commit 1e01148
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build-and-push-docker-image-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion temp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Just a file to trigger the build workflow
Just a file to trigger the build workflow.

0 comments on commit 1e01148

Please sign in to comment.