ci: fix kaniko builds and registry settings

This commit is contained in:
Tracewebstudio Dev 2026-04-17 03:04:02 +02:00
parent 737280db10
commit fd99e8cea1
3 changed files with 6 additions and 2 deletions

View file

@ -29,7 +29,8 @@ steps:
- name: build-and-push
image: registry.nxtgauge.com/kaniko:2.1.1
settings:
registry: registry.nxtgauge.com
registry:
from_secret: REGISTRY_HOSTPORT
username:
from_secret: REGISTRY_USERNAME
password:
@ -52,7 +53,8 @@ steps:
- name: build-and-push-migrate
image: registry.nxtgauge.com/kaniko:2.1.1
settings:
registry: registry.nxtgauge.com
registry:
from_secret: REGISTRY_HOSTPORT
username:
from_secret: REGISTRY_USERNAME
password:

View file

@ -2,6 +2,7 @@ FROM registry.nxtgauge.com/rust:alpine AS builder
WORKDIR /app
RUN command -v cargo >/dev/null 2>&1 || apk add --no-cache cargo rust
RUN apk add --no-cache musl-dev pkgconfig openssl-dev
COPY Cargo.toml Cargo.lock ./

View file

@ -7,6 +7,7 @@ FROM registry.nxtgauge.com/rust:alpine AS builder
ARG SERVICE_NAME
# Install deps
RUN command -v cargo >/dev/null 2>&1 || apk add --no-cache cargo rust
RUN apk add --no-cache musl-dev pkgconfig openssl-dev openssl-libs-static
WORKDIR /app