更新woodpecker配置文件

This commit is contained in:
2026-01-06 16:07:29 +08:00
parent c11fbbc4d8
commit 65e58ef8e2
+13 -13
View File
@@ -9,21 +9,21 @@ when:
# arch: amd64
# multiarch: true
#volumes:
# - name: docker-sock
# host:
# path: /var/run/docker.sock
volumes:
- name: docker-sock
host:
path: /var/run/docker.sock
steps:
# - name: diagnose
# image: docker:29.0-cli
# volumes:
# - name: docker-sock
# path: /var/run/docker.sock
# commands:
# - 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'
- name: diagnose
image: docker:29.0-cli
volumes:
- name: docker-sock
path: /var/run/docker.sock
commands:
- 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'
- name: build
image: debian
commands: