switch over to newer retry

pull/200/head 4.5.0-1-01
binhex 2 years ago
parent 52f1102cdd
commit 19295caecf

@ -31,7 +31,7 @@ jobs:
username: ${{ secrets.GITLAB_USERNAME }} username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_TOKEN }} password: ${{ secrets.GITLAB_TOKEN }}
- name: Show Runners environment (debug) - name: Show Runners environment (debug)
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 3 max_attempts: 3
@ -53,7 +53,7 @@ jobs:
echo "::set-output name=app_name::$app_name" echo "::set-output name=app_name::$app_name"
id: generate_app_name id: generate_app_name
- name: Build Docker image and tag - name: Build Docker image and tag
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 60 timeout_minutes: 60
max_attempts: 3 max_attempts: 3
@ -76,7 +76,7 @@ jobs:
git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}" git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}"
"${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --app-name ${{ steps.generate_app_name.outputs.app_name }} --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --app-name ${{ steps.generate_app_name.outputs.app_name }} --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}"
- name: Push Docker image to Docker Hub - name: Push Docker image to Docker Hub
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3
@ -84,7 +84,7 @@ jobs:
command: | command: |
docker push ${{ github.repository }}:${{ github.event.inputs.tags }} docker push ${{ github.repository }}:${{ github.event.inputs.tags }}
- name: Push Docker image to GitHub Container Registry (GHCR) - name: Push Docker image to GitHub Container Registry (GHCR)
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3
@ -92,7 +92,7 @@ jobs:
command: | command: |
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }} docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
- name: Push Docker image to GitLab Container Registry (GCR) - name: Push Docker image to GitLab Container Registry (GCR)
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3

@ -36,7 +36,7 @@ jobs:
repository: ${{ github.repository }} repository: ${{ github.repository }}
short-description: ${{ github.event.repository.description }} short-description: ${{ github.event.repository.description }}
- name: DEBUG Show Runners environment - name: DEBUG Show Runners environment
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 3 max_attempts: 3
@ -48,7 +48,7 @@ jobs:
# to strip out '+' symbol - required due to gcr not supporting this as a tag # to strip out '+' symbol - required due to gcr not supporting this as a tag
# name (docker hub does support it). # name (docker hub does support it).
# note if push is NOT triggered by tag then 'GITHUB_REF' will be the branch name. # note if push is NOT triggered by tag then 'GITHUB_REF' will be the branch name.
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 3 max_attempts: 3
@ -71,7 +71,7 @@ jobs:
echo "::set-output name=app_name::$app_name" echo "::set-output name=app_name::$app_name"
id: generate_app_name id: generate_app_name
- name: Build Docker image and tag - name: Build Docker image and tag
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 60 timeout_minutes: 60
max_attempts: 3 max_attempts: 3
@ -90,7 +90,7 @@ jobs:
--build-arg release_tag_name=${{ steps.identify_github_release_tag_name.outputs.tag }} \ --build-arg release_tag_name=${{ steps.identify_github_release_tag_name.outputs.tag }} \
. .
- name: DEBUG Show built Docker Images - name: DEBUG Show built Docker Images
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 5 timeout_minutes: 5
max_attempts: 3 max_attempts: 3
@ -106,7 +106,7 @@ jobs:
git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}" git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}"
"${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --app-name ${{ steps.generate_app_name.outputs.app_name }} --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --app-name ${{ steps.generate_app_name.outputs.app_name }} --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}"
- name: Push Docker image to Docker Hub - name: Push Docker image to Docker Hub
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3
@ -115,7 +115,7 @@ jobs:
docker push ${{ github.repository }}:latest docker push ${{ github.repository }}:latest
docker push ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} docker push ${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }}
- name: Push Docker image to GitHub Container Registry (GHCR) - name: Push Docker image to GitHub Container Registry (GHCR)
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3
@ -124,7 +124,7 @@ jobs:
docker push ghcr.io/${{ github.repository }}:latest docker push ghcr.io/${{ github.repository }}:latest
docker push ghcr.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }} docker push ghcr.io/${{ github.repository }}:${{ steps.identify_github_release_tag_name.outputs.tag }}
- name: Push Docker image to GitLab Container Registry (GCR) - name: Push Docker image to GitLab Container Registry (GCR)
uses: nick-invision/retry@v2.4.0 uses: nick-fields/retry@v2
with: with:
timeout_minutes: 30 timeout_minutes: 30
max_attempts: 3 max_attempts: 3

Loading…
Cancel
Save