This commit is contained in:
parent
599f19268b
commit
379be9c9c0
10
.drone.yml
10
.drone.yml
@ -22,10 +22,18 @@ trigger:
|
||||
branch: ["main"]
|
||||
|
||||
steps:
|
||||
- name: "docker"
|
||||
image: "docker:20.10.17-dind"
|
||||
pull: if-not-exists
|
||||
detach: true
|
||||
commands:
|
||||
- /usr/local/bin/dockerd --data-root=/var/lib/docker --host=tcp://0.0.0.0:2375
|
||||
|
||||
- name: "mirror"
|
||||
image: "plugins/docker"
|
||||
image: "docker:20.10.17-dind"
|
||||
pull: if-not-exists
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
REGISTRY_USER: drone
|
||||
REGISTRY_PASSWORD:
|
||||
from_secret: drone_secret
|
||||
|
Loading…
Reference in New Issue
Block a user