更新woodpecker配置文件
This commit is contained in:
+4
-9
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user