diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index e5164ec..d3775b4 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -61,7 +61,7 @@ kapply common/job.yaml \ kubectl rollout restart statefulset app for i in {0..9}; do - RUNNER_TOKEN="$(curl "http://$GITEA_USERNAME:$GITEA_PASSWORD@app/api/v1/admin/runners/registration-token" | jq .token)" + RUNNER_TOKEN="$(curl -sS "https://$GITEA_USERNAME:$GITEA_PASSWORD@$BASE_URL/api/v1/admin/runners/registration-token" | jq .token)" if [ "$RUNNER_TOKEN" != null ]; then kcreatesec runner-secret --from-literal=token="$RUNNER_TOKEN"