From 7a898be03d33788f45073cce9d70a79308288f0b Mon Sep 17 00:00:00 2001 From: Tasko Olevski Date: Fri, 6 Oct 2023 17:10:54 +0200 Subject: [PATCH] fix: publish chart action (#69) * Revert "fix: installing chartpress in publish chart action (#68)" This reverts commit 4d0c6b83ef8bb315bed9390984636d3a509f8146. --- publish-chart/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/publish-chart/Dockerfile b/publish-chart/Dockerfile index 1ad9f11..a68c983 100644 --- a/publish-chart/Dockerfile +++ b/publish-chart/Dockerfile @@ -1,15 +1,13 @@ -FROM bitnami/kubectl:1.25-debian-11 +FROM docker:24.0.6-git -USER root # install dependencies -RUN apt-get update && apt-get install -y git python3 python3-pip wget && \ +RUN apk add python3 py-pip py3-ruamel.yaml && \ wget -O /usr/bin/yq "https://github.com/mikefarah/yq/releases/download/3.1.1/yq_linux_amd64" && \ chmod 0755 /usr/bin/yq && \ pip3 install -U pip chartpress==2.1.0 && \ wget -O /tmp/helm.tar.gz "https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz" && \ tar -xf /tmp/helm.tar.gz --strip-components=1 -C /usr/bin/ && \ - chmod 0755 /usr/bin/helm && \ - rm -rf /var/lib/apt/lists/* + chmod 0755 /usr/bin/helm COPY publish-chart.sh / ENTRYPOINT [ "/publish-chart.sh" ]