Skip to content

Commit 35ad9a1

Browse files
authored
Merge pull request #9 from jianxiaoguo/dev
chore(drone): add image_registries volumes
2 parents aab495b + 8109082 commit 35ad9a1

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.drone/drone.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ steps:
2222
- push
2323
- tag
2424
- pull_request
25+
volumes:
26+
- name: image_registries
27+
path: /etc/containers/registries.conf
2528

2629
- name: codecov
2730
image: docker.io/drycc/go-dev
@@ -56,13 +59,21 @@ steps:
5659
event:
5760
- push
5861
- tag
62+
volumes:
63+
- name: image_registries
64+
path: /etc/containers/registries.conf
5965

6066
trigger:
6167
event:
6268
- push
6369
- tag
6470
- pull_request
6571

72+
volumes:
73+
- name: image_registries
74+
host:
75+
path: /etc/containers/registries.conf
76+
6677
---
6778
kind: pipeline
6879
type: docker
@@ -90,12 +101,20 @@ steps:
90101
from_secret: docker_username
91102
DOCKER_PASSWORD:
92103
from_secret: docker_password
104+
volumes:
105+
- name: image_registries
106+
path: /etc/containers/registries.conf
93107

94108
trigger:
95109
event:
96110
- push
97111
- tag
98112

113+
volumes:
114+
- name: image_registries
115+
host:
116+
path: /etc/containers/registries.conf
117+
99118
---
100119
kind: pipeline
101120
type: docker

0 commit comments

Comments
 (0)