This commit is contained in:
parent
df03ea6ead
commit
db9922eea3
25
.drone.yml
25
.drone.yml
@ -22,27 +22,26 @@ trigger:
|
|||||||
branch: ["main"]
|
branch: ["main"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: "docker"
|
- name: "docker"
|
||||||
# image: "docker:20.10.17-dind"
|
image: "docker:20.10.17"
|
||||||
# pull: if-not-exists
|
pull: if-not-exists
|
||||||
# detach: true
|
detach: true
|
||||||
# privileged: true
|
privileged: true
|
||||||
# environment:
|
environment:
|
||||||
# DOCKER_HOST: tcp://0.0.0.0:2375
|
DOCKER_HOST: tcp://0.0.0.0:2375
|
||||||
# DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
# commands:
|
commands:
|
||||||
# - /usr/local/bin/dockerd-entrypoint.sh dockerd
|
- /usr/local/bin/dockerd-entrypoint.sh dockerd
|
||||||
|
|
||||||
- name: "mirror"
|
- name: "mirror"
|
||||||
image: "docker:20.10.17-dind"
|
image: "docker:20.10.17"
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
#DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
REGISTRY_USER: drone
|
REGISTRY_USER: drone
|
||||||
REGISTRY_PASSWORD:
|
REGISTRY_PASSWORD:
|
||||||
from_secret: drone_secret
|
from_secret: drone_secret
|
||||||
commands:
|
commands:
|
||||||
- /usr/local/bin/dockerd-entrypoint.sh dockerd
|
|
||||||
- apk add --no-cache bash
|
- apk add --no-cache bash
|
||||||
- ./mirror.sh
|
- ./mirror.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user