Skip to content

Commit 2b82e90

Browse files
authored
Merge pull request #7 from jianxiaoguo/dev
chore(drone): add image_registries volumes
2 parents f43721f + 3367cfb commit 2b82e90

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.drone/drone.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
pull: if-not-exists
1313
privileged: true
1414
commands:
15-
- make bootstrap test
15+
- make bootstrap test
1616
environment:
1717
VERSION: ${DRONE_TAG:-latest}-linux-amd64
1818
DEV_REGISTRY: ${DEV_REGISTRY:-docker.io}
@@ -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
@@ -40,3 +43,8 @@ trigger:
4043
- push
4144
- tag
4245
- pull_request
46+
47+
volumes:
48+
- name: image_registries
49+
host:
50+
path: /etc/containers/registries.conf

0 commit comments

Comments
 (0)