ci: mirror node:20-alpine first, then build admin

This commit is contained in:
Tracewebstudio Dev 2026-04-16 21:33:05 +02:00
parent a13dce546d
commit e044d4c5cc

View file

@ -3,6 +3,17 @@ when:
event: push
steps:
- name: mirror-base-images
image: gcr.io/go-containerregistry/crane:debug
environment:
REG_USER:
from_secret: REGISTRY_USERNAME
REG_PASS:
from_secret: REGISTRY_PASSWORD
commands:
- crane auth login registry.nxtgauge.com -u "$REG_USER" -p "$REG_PASS"
- crane copy docker.io/library/node:20-alpine registry.nxtgauge.com/node:20-alpine
- name: build-and-push
image: woodpeckerci/plugin-kaniko:2.1.1
settings:
@ -10,7 +21,6 @@ steps:
repo: nxtgauge-admin-solid
dockerfile: Dockerfile.simple
tags:
- ${CI_COMMIT_SHA}
- latest
- high-performance-latest
username: