From 5023f23644156975be45e030d578247fd2da47a2 Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Thu, 23 May 2024 13:43:07 +0200 Subject: [PATCH] fix and check syntax --- .github/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aa0ec5b..d3ec4ff 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,6 +11,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Run ShellCheck on GHA config + uses: saleor/shellcheck-gha@v0 + - name: Prepare OCI metadata id: meta uses: docker/metadata-action@v5 @@ -171,7 +174,7 @@ jobs: while [[ -z $(kubectl -n "${ns}" get "${service}" -o jsonpath="{.status.loadBalancer.ingress}" 2>/dev/null) ]]; do if [ "$attempt" -lt "10" ]; then info "Waiting for ${service} to obtain endpoint ..." - attempt=((attempt+1)) + attempt=$((attempt+1)) sleep 10 else die "ERROR: Timeout waiting for ${service} to obtain endpoint!"