push: true tags: your-registry/online-store:${{ github.sha }} deploy: needs: build runs-on : config: ${{ secrets.KUBE_CONFIG }} command: | kubectl set image deployment/online-store online-store=your-registry/online-store:${{ github.sha }}六、项目优化与扩展6.1 性能优化使用Redis缓存热门商品数据实现数据库读写分离引入
nodejs 配置cnpm镜像 配置方法: npm install -g cnpm --registry=https://registry.npm.taobao.org 这样就安装好了cnpm 然后下载online-store