Skip to content

Commit

Permalink
define XDG HOME for helm v3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Piccoli committed Aug 4, 2020
1 parent 1c0d134 commit 8ba5faf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ LABEL maintainer="Serebrennikov Stanislav <goodsmileduck@gmail.com>" \
org.label-schema.schema-version="1.0"
ENV HELM_VERSION v3.2.4
ENV HELM_PLUGIN_PUSH_VERSION v0.8.1
ENV HELM_HOME=/root/.helm

ENV XDG_DATA_HOME=/opt/xdg
ENV XDG_CACHE_HOME=/opt/xdg

RUN apk add curl tar bash --no-cache
RUN set -ex \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ helm inspect chart .

helm package .

helm push ${CHART_FOLDER}-* ${CHARTMUSEUM_URL} -u ${CHARTMUSEUM_USER} -p ${CHARTMUSEUM_PASSWORD} ${FORCE}
helm push ${CHART_FOLDER}-* ${CHARTMUSEUM_URL} -u ${CHARTMUSEUM_USER} -p ${CHARTMUSEUM_PASSWORD} ${FORCE}

0 comments on commit 8ba5faf

Please sign in to comment.