小编ror*_*ray的帖子

什么是特殊的gitlab-ci-token用户?

gitlab的容器注册表(https://gitlab.com/help/container_registry/README.md)的文档提供了一个配置示例,其中包含以下指令:

- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.example.com

而这个解释:

You have to use the credentials of the special gitlab-ci-token user with its password stored in $CI_BUILD_TOKEN in order to push to the Registry connected to your project. This allows you to automated building and deployment of your Docker images.

我找不到关于这个特殊gitlab-ci-token用户的任何文档,也没有关于$CI_BUILD_TOKENvar的文档.

这个特殊用户是什么?它是自动可用的吗?是否必须在某处定义?应该给$CI_BUILD_TOKENvar 什么值?

gitlab docker gitlab-ci gitlab-ci-runner

20
推荐指数
1
解决办法
1万
查看次数

聚合物1.0默认图标设置在铁图标不工作使用火焰(流星)模板引擎

升级到Polymer 1.0后,默认的iron-icons设置无效.我正在尝试使用默认图标集中的主页图标.

HTML代码片段:

    <link rel="import" href="/components/iron-flex-layout/classes/iron-flex-layout.html">
    <link rel="import" href="/components/iron-icons/iron-icons.html">
    <link rel="import" href="/components/iron-icons/communication-icons.html">
    <link rel="import" href="/components/iron-form/iron-form.html">
    <link rel="import" href="/components/iron-selector/iron-selector.html">
    <link rel="import" href="/components/iron-pages/iron-pages.html">

    <!-- OOTB paper elements -->
    <link rel="import" href="/components/paper-drawer-panel/paper-drawer-panel.html">
    <link rel="import" href="/components/paper-header-panel/paper-header-panel.html">
    <link rel="import" href="/components/paper-toolbar/paper-toolbar.html">

    <link rel="import" href="/components/paper-icon-button/paper-icon-button.html">
    <link rel="import" href="/components/paper-material/paper-material.html">

    <link rel="import" href="/components/paper-menu/paper-menu.html">
    <link rel="import" href="/components/paper-item/all-imports.html">

    <link rel="import" href="/components/paper-tabs/paper-tab.html">
    <link rel="import" href="/components/paper-tabs/paper-tabs.html">
    <link rel="import" href="/components/paper-tabs/paper-tabs-icons.html">

<paper-icon-item id="socialFeed">

        <iron-icon icon="home" item-icon></iron-icon>

        <paper-item-body two-line>
          <div>Social Feed</div>
          <div secondary>2 Unread FB Posts</div>
        </paper-item-body>

</paper-icon-item>
Run Code Online (Sandbox Code Playgroud)

我在Chrome调试器中收到警告:[iron-icon::_updateIcon]: could not find iconset icons, did …

meteor polymer meteor-blaze polymer-1.0

10
推荐指数
1
解决办法
5569
查看次数

Polymer 1.0无法找到纸质菜单或纸质项目的事件

升级到Polymer 1.0,我如何监听/捕获改变铁菜单行为的"focusedItem"?我看不到项目更改的任何事件或属性更改侦听器,即在纸张菜单中更改纸张项目选择.我在这里看不到任何此类事件:https://elements.polymer-project.org/elements/iron-menu-behavior?active = Polymer.IronMenuBehavior

polymer polymer-1.0

7
推荐指数
3
解决办法
6092
查看次数