Add timeout and retries to tool installation in CI
Some checks failed
CI TEST (Vault secrets) / build (push) Has been cancelled
Some checks failed
CI TEST (Vault secrets) / build (push) Has been cancelled
This commit is contained in:
@@ -14,8 +14,14 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://gitea.nikitapozd.dev/actions/checkout@v6
|
||||
|
||||
- name: Install tools (curl, jq)
|
||||
run: apk add --no-cache curl jq
|
||||
- name: Install tools (curl, jq) with timeout
|
||||
run: |
|
||||
set -eux
|
||||
export APK_TIMEOUT=10
|
||||
export APK_RETRIES=1
|
||||
export APK_PROGRESS=plain
|
||||
apk update -v
|
||||
apk add --no-cache curl jq
|
||||
|
||||
- name: Get Keycloak access token from Gitea secrets
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user