feat(woodpecker): use internal registry docker-registry.registry.svc.cluster.local:5000

This commit is contained in:
Ashwin Kumar 2026-04-10 17:39:41 +02:00
parent 0d25f84ed6
commit a6c88666ec

View file

@ -38,18 +38,22 @@ steps:
- name: build-and-push - name: build-and-push
image: woodpeckerci/plugin-docker-buildx:5.0.0 image: woodpeckerci/plugin-docker-buildx:5.0.0
settings: settings:
registry: ghcr.io # Use internal registry
repo: ghcr.io/traceworks2023/nxtgauge-admin-solid registry: docker-registry.registry.svc.cluster.local:5000
repo: docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid
dockerfile: Dockerfile dockerfile: Dockerfile
tags: tags:
- ${CI_COMMIT_SHA} - ${CI_COMMIT_SHA}
- latest - latest
- high-performance-latest - high-performance-latest
username: # Use Docker Hub for base images
from_secret: GHCR_USERNAME logins:
password: - registry: https://index.docker.io/v1/
from_secret: GHCR_TOKEN username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_TOKEN
platforms: linux/amd64 platforms: linux/amd64
# Enable layer caching # Enable caching from/to internal registry
cache_from: ghcr.io/traceworks2023/nxtgauge-admin-solid:cache cache_from: docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid:cache
cache_to: ghcr.io/traceworks2023/nxtgauge-admin-solid:cache cache_to: docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid:cache