This commit is contained in:
+9
-4
@@ -15,6 +15,11 @@ trigger:
|
||||
branch: [main, release/*]
|
||||
- event: tag
|
||||
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
# 核心:启用 Drone 内置 Git 克隆配置
|
||||
clone:
|
||||
disable: false # 启用内置克隆(默认就是 false,显式声明更稳妥)
|
||||
@@ -28,7 +33,7 @@ steps:
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
path: /run/podman/podman.sock
|
||||
path: /var/run/docker.sock
|
||||
- name: containers-config
|
||||
path: /etc/containers
|
||||
environment:
|
||||
@@ -57,7 +62,7 @@ steps:
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
path: /run/podman/podman.sock
|
||||
path: /var/run/docker.sock
|
||||
- name: containers-config
|
||||
path: /etc/containers
|
||||
environment:
|
||||
@@ -105,8 +110,8 @@ steps:
|
||||
image: quay.io/containers/podman:v4.9
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: podman-sock
|
||||
path: /run/podman/podman.sock
|
||||
- name: docker-sock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- |
|
||||
echo "Logging out of registry..."
|
||||
|
||||
Reference in New Issue
Block a user