From 97d8f2e8ef04dcf3dddcf9c959e2a69486bd3fed Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 25 Apr 2026 18:47:44 +1000 Subject: [PATCH 1/2] feat: add docker registry remotes and image include_patterns to artifactapi Adds include_patterns to existing ghcr and dockerhub remotes covering all container images used in the repo, and adds five new docker registry remotes (quay, k8s-registry, gitlab, elastic, gcr). Fixes type/package on all docker remotes to remote/docker. --- apps/base/artifactapi/resources/remotes.yaml | 86 +++++++++++++++++++- 1 file changed, 82 insertions(+), 4 deletions(-) diff --git a/apps/base/artifactapi/resources/remotes.yaml b/apps/base/artifactapi/resources/remotes.yaml index dbf85cd..0189bf4 100644 --- a/apps/base/artifactapi/resources/remotes.yaml +++ b/apps/base/artifactapi/resources/remotes.yaml @@ -303,18 +303,96 @@ remotes: ghcr: base_url: "https://ghcr.io" - type: "docker" - package: "generic" + type: "remote" + package: "docker" description: "GitHub Container Registry" + include_patterns: + - "^cloudnative-pg/cloudnative-pg" + - "^openvoxproject/" + - "^stakater/reloader" + - "^voxpupuli/puppetboard" cache: file_ttl: 0 index_ttl: 300 dockerhub: base_url: "https://registry-1.docker.io" - type: "docker" - package: "generic" + type: "remote" + package: "docker" description: "Docker Hub registry" + include_patterns: + - "^library/busybox" + - "^library/nginx" + - "^library/postgres" + - "^library/redis" + - "^beats/filebeat" + - "^bitnami/" + - "^curlimages/curl" + - "^emberstack/kubernetes-reflector" + - "^hashicorp/vault-secrets-operator" + - "^jfrog/" + - "^rancher/" + - "^ubi9/ubi-minimal" + - "^victoriametrics/" + - "^woodpeckerci/" + cache: + file_ttl: 0 + index_ttl: 300 + + quay: + base_url: "https://quay.io" + type: "remote" + package: "docker" + description: "Quay.io container registry" + include_patterns: + - "^brancz/kube-rbac-proxy" + - "^cephcsi/cephcsi" + - "^jetstack/cert-manager-" + cache: + file_ttl: 0 + index_ttl: 300 + + k8s-registry: + base_url: "https://registry.k8s.io" + type: "remote" + package: "docker" + description: "Kubernetes container registry" + include_patterns: + - "^external-dns/external-dns" + - "^sig-storage/" + cache: + file_ttl: 0 + index_ttl: 300 + + gitlab: + base_url: "https://registry.gitlab.com" + type: "remote" + package: "docker" + description: "GitLab container registry" + include_patterns: + - "^purelb/purelb" + cache: + file_ttl: 0 + index_ttl: 300 + + elastic: + base_url: "https://docker.elastic.co" + type: "remote" + package: "docker" + description: "Elastic container registry" + include_patterns: + - "^eck/eck-operator" + cache: + file_ttl: 0 + index_ttl: 300 + + gcr: + base_url: "https://gcr.io" + type: "remote" + package: "docker" + description: "Google Container Registry" + include_patterns: + - "^k8s-staging-nfd/node-feature-discovery" cache: file_ttl: 0 index_ttl: 300 -- 2.47.3 From d45e56e63054bf76b52a59ecdbb1b45a2b6f76e9 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 25 Apr 2026 22:31:32 +1000 Subject: [PATCH 2/2] feat: change to artifactapi image - change to using the artifactapi image build on tag events --- apps/base/artifactapi/artifactapi-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/artifactapi/artifactapi-deployment.yaml b/apps/base/artifactapi/artifactapi-deployment.yaml index 1978efe..f6fb8d7 100644 --- a/apps/base/artifactapi/artifactapi-deployment.yaml +++ b/apps/base/artifactapi/artifactapi-deployment.yaml @@ -19,7 +19,7 @@ spec: automountServiceAccountToken: true containers: - name: artifactapi - image: git.unkin.net/unkin/almalinux9-artifactapi:2.1.1 + image: git.unkin.net/unkin/artifactapi:v2.2.1 imagePullPolicy: IfNotPresent ports: - containerPort: 8000 -- 2.47.3