Skip to content

Commit 3c7dc44

Browse files
authored
Merge pull request #14 from jianxiaoguo/dev
chore(drone): add image_registries volumes
2 parents 588f0ee + 355fb59 commit 3c7dc44

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
@@ -23,6 +23,9 @@ steps:
2323
- push
2424
- tag
2525
- pull_request
26+
volumes:
27+
- name: image_registries
28+
path: /etc/containers/registries.conf
2629

2730
- name: publish
2831
image: docker.io/drycc/go-dev
@@ -45,13 +48,21 @@ steps:
4548
event:
4649
- push
4750
- tag
51+
volumes:
52+
- name: image_registries
53+
path: /etc/containers/registries.conf
4854

4955
trigger:
5056
event:
5157
- push
5258
- tag
5359
- pull_request
5460

61+
volumes:
62+
- name: image_registries
63+
host:
64+
path: /etc/containers/registries.conf
65+
5566
---
5667
kind: pipeline
5768
type: docker
@@ -79,12 +90,20 @@ steps:
7990
from_secret: docker_username
8091
DOCKER_PASSWORD:
8192
from_secret: docker_password
93+
volumes:
94+
- name: image_registries
95+
path: /etc/containers/registries.conf
8296

8397
trigger:
8498
event:
8599
- push
86100
- tag
87101

102+
volumes:
103+
- name: image_registries
104+
host:
105+
path: /etc/containers/registries.conf
106+
88107
---
89108
kind: pipeline
90109
type: docker

0 commit comments

Comments
 (0)