更新woodpecker配置文件
This commit is contained in:
+3
-2
@@ -21,9 +21,9 @@ steps:
|
||||
- name: docker-sock
|
||||
path: /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:
|
||||
@@ -33,4 +33,5 @@ steps:
|
||||
image: golang:1.16
|
||||
commands:
|
||||
- echo "Testing ..."
|
||||
- chmod +x executable
|
||||
- ./executable
|
||||
|
||||
Reference in New Issue
Block a user