ci: integrate all things ci-tools-lib
ZeroDownTime/aws-iam-authenticator/pipeline/tag This commit looks good Details

This commit is contained in:
Stefan Reimer 2023-12-13 20:52:26 +00:00
parent 4fe4cb17c9
commit e1b089cd00
3 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,9 @@
ARG DISTRO_VERSION="3.18"
ARG VERSION="0.6.11"
FROM alpine:${DISTRO_VERSION}
ARG DISTRO_VERSION
ARG TAG
ARG VERSION
RUN adduser -D -u 10000 aws-iam-authenticator
RUN apk add --update ca-certificates
@ -11,7 +12,7 @@ RUN echo "@kubezero https://cdn.zero-downtime.net/alpine/v${DISTRO_VERSION}/kube
RUN wget -q -O /etc/apk/keys/stefan@zero-downtime.net-61bb6bfb.rsa.pub https://cdn.zero-downtime.net/alpine/stefan@zero-downtime.net-61bb6bfb.rsa.pub
RUN apk -U --no-cache add \
aws-iam-authenticator@kubezero=~$TAG
aws-iam-authenticator@kubezero=~$VERSION
FROM scratch

5
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,5 @@
library identifier: 'zdt-lib@master', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: 'https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git'])
buildPodman name: 'aws-iam-authenticator'

View File

@ -1,6 +1,5 @@
REGISTRY := public.ecr.aws/zero-downtime
IMAGE := aws-iam-authenticator
REGION := us-east-1
TAG := v0.6.11
include .ci/podman.mk