From ae9ceb67dff124dab2b421e3a4cc5209d7fb3486 Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 6 Jan 2026 17:44:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0woodpecker=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a0eaf15..5ce7878 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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: