ci: fix kaniko builds and base images
This commit is contained in:
parent
cec441a9ab
commit
a8d545c019
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: registry.nxtgauge.com/kaniko:2.1.1
|
image: registry.nxtgauge.com/kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nxtgauge.com
|
registry:
|
||||||
|
from_secret: REGISTRY_HOSTPORT
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
FROM registry.nxtgauge.com/rust:alpine AS builder
|
FROM registry.nxtgauge.com/rust:alpine AS builder
|
||||||
|
RUN command -v cargo >/dev/null 2>&1 || apk add --no-cache cargo rust
|
||||||
RUN apk add --no-cache musl-dev pkgconfig openssl-dev
|
RUN apk add --no-cache musl-dev pkgconfig openssl-dev
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Cargo.toml Cargo.lock* ./
|
COPY Cargo.toml Cargo.lock* ./
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue