更新woodpecker配置文件

This commit is contained in:
2026-01-06 16:09:32 +08:00
parent f50015834e
commit 4f22295482
+3 -2
View File
@@ -21,9 +21,9 @@ steps:
- name: docker-sock
path: /var/run/docker.sock
commands:
- apk add --no-cache curl jq 2>/dev/null || true
# - apk add --no-cache curl jq 2>/dev/null || true
- echo "=== Docker CLI ==="; docker version
- echo "=== Docker Engine API ==="; curl -s --unix-socket /var/run/docker.sock http://localhost/version | jq -r ".ApiVersion"
# - echo "=== Docker Engine API ==="; curl -s --unix-socket /var/run/docker.sock http://localhost/version | jq -r ".ApiVersion"
- name: build
image: debian
commands:
@@ -33,4 +33,5 @@ steps:
image: golang:1.16
commands:
- echo "Testing ..."
- chmod +x executable
- ./executable