
webcuisine/gitlab-ci-react-native-android此Docker镜像包含React Native、Android SDK以及在GitLab CI等CI工具中构建Android应用所需的大多数常见包。
包含依赖缓存的.gitlab-ci.yml配置示例如下:
yamlimage: webcuisine/gitlab-ci-react-native-android stages: - build cache: key: ${CI_PROJECT_ID} paths: - android/.gradle/ build: stage: build script: - yarn - cd android - chmod +x ./gradlew - ./gradlew assembleDebug artifacts: paths: - android/app/build/outputs/apk/
或参考使用Fastlane的示例
bashdocker build -t webcuisine/gitlab-ci-react-native-android:android-28.0.3 .
bashdocker run -it -d webcuisine/gitlab-ci-react-native-android /bin/bash docker attach HASH docker stop 3c854ac65f64d424c097e639c002b50431454e839b5c551ec2a929dcbecb7176
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务