when: branch: [main, high-performance] 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: registry: registry.nxtgauge.com repo: nxtgauge-frontend-solid dockerfile: Dockerfile tags: - latest - high-performance-latest username: from_secret: REGISTRY_USERNAME password: from_secret: REGISTRY_PASSWORD insecure: true insecure_pull: true skip_tls_verify: true platforms: linux/amd64 cache: false