From bacf653e87da5bb3204a55c29098b77ef9fc5b90 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 25 Apr 2026 17:37:22 +1000 Subject: [PATCH] feat: add docker remotes to artifactapi - set artifactapi to specific version - add dockerhub and ghcr to remotes --- .../artifactapi/artifactapi-deployment.yaml | 4 ++-- apps/base/artifactapi/resources/remotes.yaml | 20 ++++++++++++++++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/apps/base/artifactapi/artifactapi-deployment.yaml b/apps/base/artifactapi/artifactapi-deployment.yaml index 3bc3250..1978efe 100644 --- a/apps/base/artifactapi/artifactapi-deployment.yaml +++ b/apps/base/artifactapi/artifactapi-deployment.yaml @@ -19,8 +19,8 @@ spec: automountServiceAccountToken: true containers: - name: artifactapi - image: git.unkin.net/unkin/almalinux9-artifactapi:latest - imagePullPolicy: Always + image: git.unkin.net/unkin/almalinux9-artifactapi:2.1.1 + imagePullPolicy: IfNotPresent ports: - containerPort: 8000 name: http diff --git a/apps/base/artifactapi/resources/remotes.yaml b/apps/base/artifactapi/resources/remotes.yaml index e674144..dbf85cd 100644 --- a/apps/base/artifactapi/resources/remotes.yaml +++ b/apps/base/artifactapi/resources/remotes.yaml @@ -291,7 +291,7 @@ remotes: - "claude-code-releases/.*/manifest.json$" cache: file_ttl: 0 - index_ttl: 0 + index_ttl: 300 local-generic: type: "local" @@ -300,3 +300,21 @@ remotes: cache: file_ttl: 0 index_ttl: 0 + + ghcr: + base_url: "https://ghcr.io" + type: "docker" + package: "generic" + description: "GitHub Container Registry" + cache: + file_ttl: 0 + index_ttl: 300 + + dockerhub: + base_url: "https://registry-1.docker.io" + type: "docker" + package: "generic" + description: "Docker Hub registry" + cache: + file_ttl: 0 + index_ttl: 300