Fix setup trigger dialog to handle the case where the FROM image has a public base
This commit is contained in:
parent
b8979c0499
commit
d1c9108570
1 changed files with 10 additions and 4 deletions
|
@ -76,12 +76,18 @@
|
||||||
current-entity="pullEntity"
|
current-entity="pullEntity"
|
||||||
allowed-entities="['robot']"></div>
|
allowed-entities="['robot']"></div>
|
||||||
|
|
||||||
<div class="alert alert-info" ng-if="pullRequirements.robots.length" style="margin-top: 20px; margin-bottom: 0px;">
|
<div class="alert alert-info" ng-if="pullRequirements.status == 'analyzed' && pullRequirements.robots.length"
|
||||||
Note: We've automatically selected robot account <span class="entity-reference" entity="pullRequirements.robots[0]"></span>, since it has access to the Quay.io repository.
|
style="margin-top: 20px; margin-bottom: 0px;">
|
||||||
|
Note: We've automatically selected robot account
|
||||||
|
<span class="entity-reference" entity="pullRequirements.robots[0]"></span>, since it has access to the Quay.io
|
||||||
|
repository.
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-warning" ng-if="!pullRequirements.robots.length" style="margin-top: 20px; margin-bottom: 0px;">
|
<div class="alert alert-warning"
|
||||||
|
ng-if="pullRequirements.status == 'analyzed' && !pullRequirements.robots.length && pullRequirements.name"
|
||||||
|
style="margin-top: 20px; margin-bottom: 0px;">
|
||||||
Note: No robot account currently has access to the Quay.io repository. Please create one and/or assign access in the
|
Note: No robot account currently has access to the Quay.io repository. Please create one and/or assign access in the
|
||||||
<a href="/repository/{{ pullRequirements.namespace }}/{{ pullRequirements.name }}/admin" target="_blank">repository's admin panel</a>.
|
<a href="/repository/{{ pullRequirements.namespace }}/{{ pullRequirements.name }}/admin" target="_blank">repository's
|
||||||
|
admin panel</a>.
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Reference in a new issue