ci: 修正 SPIFFE socket URI 检查
This commit is contained in:
@@ -14,7 +14,8 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
: "${SPIFFE_ENDPOINT_SOCKET:?SPIFFE_ENDPOINT_SOCKET is required}"
|
||||
test -S "$SPIFFE_ENDPOINT_SOCKET"
|
||||
socket_path=${SPIFFE_ENDPOINT_SOCKET#unix://}
|
||||
test -S "$socket_path"
|
||||
|
||||
- name: Verify Docker daemon
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user