更新woodpecker配置文件
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-01-06 16:05:12 +08:00
parent aafc075e46
commit c11fbbc4d8
+13 -15
View File
@@ -9,28 +9,26 @@ 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:
- echo "This is the build step"
- echo "binary-data-123" > executable
- name: a-test-step
image: golang:1.16
commands: