gitlab-ci - 如何在 .gitlab-cy.yml 中包含远程私有 git 文件?
问题描述
我希望我的.gitlab-ci.yml
开头是:
include:
- remote: https://gitlab-ci-token:$GL_TOKEN@gitlab.com/..../template/-/raw/master/glab-ci-template.yml
这个想法是将模板导入到我的.gitlab-ci.yml
. 但是,我收到 403 错误。
如何从我有权访问的另一个私有存储库导入模板文件?谢谢
解决方案
推荐阅读
- vba - 在字典中修改数组被忽略
- amazon-web-services - Cloudformation 模板 - 我如何获取计算属性的值
- c# - NodeInvocationException:JSON 输入意外结束
- javascript - 用cheerio解析节点JS上的代码
- azure - 代表 Azure 中的令牌应使用哪种授权类型?
- javascript - 从 dist 文件夹打开 index.html 时不显示图像
- r - 在 r 中使用 API
- tensorflow - 在研究论文中难以理解图像中的补丁数量
- c - 关于 printf 中的字符串
- sql - 基于两列返回整理结果的 SQL 查询