File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,15 @@ name: default
55steps :
66- name : test
77 commands :
8+ - mkdir -p $HOMEPATH/.docker; echo $IMAGE_PULL_SECRETS > $HOMEPATH/.docker/config.json
89 - VERSION=${DRONE_TAG:-latest} make test
910 environment :
1011 DEV_REGISTRY :
1112 from_secret : dev_registry
13+ DRYCC_REGISTRY :
14+ from_secret : drycc_registry
15+ IMAGE_PULL_SECRETS :
16+ from_secret : container_pull_secrets
1217 when :
1318 event :
1419 - push
@@ -17,10 +22,15 @@ steps:
1722
1823- name : build
1924 commands :
25+ - mkdir -p $HOMEPATH/.docker; echo $IMAGE_PULL_SECRETS > $HOMEPATH/.docker/config.json
2026 - VERSION=${DRONE_TAG:-latest} make build
2127 environment :
2228 DEV_REGISTRY :
2329 from_secret : dev_registry
30+ DRYCC_REGISTRY :
31+ from_secret : drycc_registry
32+ IMAGE_PULL_SECRETS :
33+ from_secret : container_pull_secrets
2434 when :
2535 event :
2636 - tag
3747 -e PLUGIN_FILES="_dist/*"
3848 -v $(pwd):$(pwd)
3949 -w $(pwd)
40- plugins/github-release
50+ docker.io/ plugins/github-release
4151 environment :
4252 API_KEY :
4353 from_secret : github_token
You can’t perform that action at this time.
0 commit comments