Skip to content

Commit c7e6cba

Browse files
authored
Merge pull request #4 from jianxiaoguo/dev
chore(drone): add image_registries volumes
2 parents ee56bed + 94fb85b commit c7e6cba

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.drone/drone.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ steps:
2424
- push
2525
- tag
2626
- pull_request
27+
volumes:
28+
- name: image_registries
29+
path: /etc/containers/registries.conf
2730

2831
- name: publish
2932
image: docker.io/drycc/go-dev
@@ -43,6 +46,14 @@ steps:
4346
event:
4447
- push
4548
- tag
49+
volumes:
50+
- name: image_registries
51+
path: /etc/containers/registries.conf
52+
53+
volumes:
54+
- name: image_registries
55+
host:
56+
path: /etc/containers/registries.conf
4657

4758
---
4859
kind: pipeline
@@ -67,6 +78,9 @@ steps:
6778
- push
6879
- tag
6980
- pull_request
81+
volumes:
82+
- name: image_registries
83+
path: /etc/containers/registries.conf
7084

7185
- name: publish
7286
image: docker.io/drycc/go-dev
@@ -86,6 +100,14 @@ steps:
86100
event:
87101
- push
88102
- tag
103+
volumes:
104+
- name: image_registries
105+
path: /etc/containers/registries.conf
106+
107+
volumes:
108+
- name: image_registries
109+
host:
110+
path: /etc/containers/registries.conf
89111

90112
---
91113
kind: pipeline

0 commit comments

Comments
 (0)