Switch Docker update tracking to Portainer API (all endpoints)
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -6,6 +6,7 @@ interface ContainerInfo {
|
||||
tag: string
|
||||
upToDate: boolean | null
|
||||
registry: string
|
||||
endpoint: string
|
||||
}
|
||||
|
||||
export function DockerUpdatesWidget() {
|
||||
@@ -45,10 +46,10 @@ export function DockerUpdatesWidget() {
|
||||
<div className="progress-group">
|
||||
{containers.map(c => (
|
||||
<div key={c.name} className="list-item">
|
||||
<div className="list-item-left">
|
||||
<div className="list-item-left" style={{ flexDirection: 'column', alignItems: 'flex-start', gap: 2 }}>
|
||||
<span>{c.name}</span>
|
||||
<span style={{ fontFamily: 'JetBrains Mono, monospace', fontSize: 10, color: 'var(--muted)' }}>
|
||||
{c.image}:{c.tag}
|
||||
{c.image}:{c.tag} · {c.endpoint}
|
||||
</span>
|
||||
</div>
|
||||
{c.registry !== 'docker.io' ? (
|
||||
|
||||
Reference in New Issue
Block a user