Skip to content

Commit 88896c2

Browse files
committed
chore(pkg): use registry.drycc.cc replace docker.io
1 parent ed4bc06 commit 88896c2

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.drone/drone.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ platform:
99
steps:
1010
- name: test
1111
commands:
12+
- mkdir -p $HOMEPATH/.docker; echo $IMAGE_PULL_SECRETS > $HOMEPATH/.docker/config.json
1213
- make bootstrap test
1314
environment:
1415
VERSION: ${DRONE_TAG:-latest}-linux-amd64
15-
DEV_REGISTRY: ${DEV_REGISTRY:-docker.io}
16-
DRYCC_REGISTRY: ${DRYCC_REGISTRY:-docker.io}
16+
DEV_REGISTRY:
17+
from_secret: dev_registry
18+
DRYCC_REGISTRY:
19+
from_secret: drycc_registry
20+
IMAGE_PULL_SECRETS:
21+
from_secret: container_pull_secrets
1722
when:
1823
event:
1924
- push

0 commit comments

Comments
 (0)