diff --git a/Dockerfile b/Dockerfile index d8b2773..dc477f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..8a07c56 --- /dev/null +++ b/Jenkinsfile @@ -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' diff --git a/Makefile b/Makefile index da76749..a5d87e5 100644 --- a/Makefile +++ b/Makefile @@ -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