2026-04-09 00:09:03 +02:00
|
|
|
when:
|
2026-04-10 05:21:45 +02:00
|
|
|
branch: [main, high-performance]
|
2026-04-09 00:09:03 +02:00
|
|
|
event: push
|
|
|
|
|
|
|
|
|
|
steps:
|
2026-04-16 21:33:05 +02:00
|
|
|
- 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
|
|
|
|
|
|
2026-04-09 00:09:03 +02:00
|
|
|
- name: build-and-push
|
2026-04-11 13:49:49 +02:00
|
|
|
image: woodpeckerci/plugin-kaniko:2.1.1
|
2026-04-11 00:38:02 +02:00
|
|
|
settings:
|
2026-04-15 14:58:40 +02:00
|
|
|
registry: registry.nxtgauge.com
|
2026-04-11 13:58:08 +02:00
|
|
|
repo: nxtgauge-admin-solid
|
2026-04-11 00:38:02 +02:00
|
|
|
dockerfile: Dockerfile.simple
|
|
|
|
|
tags:
|
|
|
|
|
- latest
|
|
|
|
|
- high-performance-latest
|
2026-04-11 13:43:32 +02:00
|
|
|
username:
|
2026-04-14 14:32:28 +02:00
|
|
|
from_secret: REGISTRY_USERNAME
|
2026-04-11 13:43:32 +02:00
|
|
|
password:
|
2026-04-14 14:32:28 +02:00
|
|
|
from_secret: REGISTRY_PASSWORD
|
2026-04-11 13:49:49 +02:00
|
|
|
insecure: true
|
|
|
|
|
insecure_pull: true
|
|
|
|
|
skip_tls_verify: true
|
2026-04-11 00:38:02 +02:00
|
|
|
platforms: linux/amd64
|
2026-04-11 13:49:49 +02:00
|
|
|
cache: false
|