Browse Source

fix: fix ci

pull/2/head v1.0.0-pre-dev.27
jiannibang 3 years ago
parent
commit
fa7bac5767
  1. 8
      .drone.yml

8
.drone.yml

@ -84,13 +84,19 @@ steps:
pull: if-not-exists
# image: registry.k8s.1000my.com/library/node:16.15.0-slim
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:node-14-slim-python2_3
environment:
USER:
from_secret: gitea_username
PASSWD:
from_secret: gitea_password
volumes:
- name: node
path: /drone/src/node_modules
settings:
mirror: https://docker.mirrors.ustc.edu.cn
commands:
- git --help
- git config --global credential.helper store
- echo "https://$USER:$PASSWD@git.1000my.com" >> ~/.git-credentials
- ln -s /usr/bin/python2 /usr/bin/python
- python --version
- npm config set registry https://registry.npm.taobao.org

Loading…
Cancel
Save