Skip to content

Commit a9e1509

Browse files
author
lijianguo
committed
chore(drone): add image_registries volumes
1 parent 8ca86c3 commit a9e1509

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: publish
2730
image: docker.io/drycc/go-dev
@@ -44,13 +47,21 @@ steps:
4447
event:
4548
- push
4649
- tag
50+
volumes:
51+
- name: image_registries
52+
path: /etc/containers/registries.conf
4753

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

60+
volumes:
61+
- name: image_registries
62+
host:
63+
path: /etc/containers/registries.conf
64+
5465
---
5566
kind: pipeline
5667
type: docker
@@ -78,12 +89,20 @@ steps:
7889
from_secret: docker_username
7990
DOCKER_PASSWORD:
8091
from_secret: docker_password
92+
volumes:
93+
- name: image_registries
94+
path: /etc/containers/registries.conf
8195

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

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

0 commit comments

Comments
 (0)