Skip to content
Snippets Groups Projects
Commit e6205685 authored by Daniel Dehennin's avatar Daniel Dehennin
Browse files

ci(build): new docker image with required helm tools

We need the `helm` tool itself and the helm plugin
[`cm-push`](https://github.com/chartmuseum/helm-push) to upload to
harbor chartmuseum.
parent f776b127
No related branches found
No related tags found
3 merge requests!61Publish new release,!60Prepare new release,!56Resolve "Helm: provide CI templates to build and publish"
......@@ -16,7 +16,10 @@ stages:
.docker-matrix:
parallel:
matrix:
- IMAGE_NAME: [commitlint, semantic-release-gitlab]
- IMAGE_NAME:
- commitlint
- helm
- semantic-release-gitlab
###############################################################################
# `lint` stage: `commitlint`
......
FROM alpine:latest as INSTALLER
LABEL maintainer="eole@ac-dijon.fr"
RUN apk add --no-cache \
ca-certificates \
curl \
git \
openssl
RUN curl -o get-helm-3 https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
RUN sh ./get-helm-3
RUN helm plugin install https://github.com/chartmuseum/helm-push
FROM alpine:latest
LABEL maintainer="eole@ac-dijon.fr"
COPY --from=INSTALLER /usr/local/bin/helm /usr/local/bin/helm
COPY --from=INSTALLER /root/.local/share/helm/ /root/.local/share/helm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment