Skip to content

Commit

Permalink
PI-2591 Retry push to GitHub Packages (#4315)
Browse files Browse the repository at this point in the history
Also add version to Sentry release
  • Loading branch information
marcus-bcl authored Oct 15, 2024
1 parent 2ad9b2d commit 8a40c64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ jobs:

- name: Push images
if: env.push == 'true'
run: ./gradlew ${{ matrix.project }}:jib
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
with:
max_attempts: 3 # Pushing lots of new image versions at once can result in GitHub rate-limiting so we retry this step
timeout_minutes: 15
command: ./gradlew ${{ matrix.project }}:jib
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_PASSWORD: ${{ github.token }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,4 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
with:
environment: ${{ inputs.environment }}
version: ${{ inputs.version }}

0 comments on commit 8a40c64

Please sign in to comment.