更新woodpecker配置文件

This commit is contained in:
2026-01-06 17:44:38 +08:00
parent ce717d66ca
commit ae9ceb67df
+4 -9
View File
@@ -1,28 +1,23 @@
when:
- event: push
branch: main
# - event: tag
# tag: v*
- event: tag
tag: v*
labels:
runtime: docker
arch: amd64
multiarch: "true"
#volumes:
# - name: docker-sock
# host:
# path: /var/run/docker.sock
steps:
- name: diagnose
image: docker:29.0-cli
volumes:
- /var/run/docker.sock:/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: