Skip to content

Commit f096edf

Browse files
Change Github Actions script to new forked version (#16)
* Change Github Actions script to new forked version * add retry count and delay options * Rename job matrix to be more descriptive
1 parent a4b7daa commit f096edf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
push: ${{ github.event_name != 'pull_request' }}
4343
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_LABEL }}
4444

45-
upgrade:
45+
rancher-upgrade:
4646

4747
needs: build-and-push-image
4848
runs-on: ubuntu-latest
@@ -54,12 +54,14 @@ jobs:
5454

5555
steps:
5656
- name: upgrade ${{ matrix.service }}
57-
uses: sekassel-research/actions-rancher-update@1.1.4
57+
uses: economiagovbr/actions-rancher-update@1.1.5
5858
with:
5959
rancher_url: https://rancher.dev.economia.gov.br
6060
rancher_access: ${{ secrets.RANCHER_ACCESS }}
6161
rancher_key: ${{ secrets.RANCHER_KEY }}
6262
project_id: 1a656207
6363
stack_name: airflow2-hmg
6464
service_name: ${{ matrix.service }}
65-
docker_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_LABEL }}
65+
docker_image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_LABEL }}
66+
retry_count: 20
67+
retry_delay: 15

0 commit comments

Comments
 (0)