File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
publish-chartpress-images Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- FROM docker:24.0.6-git
1+ FROM docker:29.2.1-dind
22
33# install dependencies
44RUN apk add python3 py-pip py3-ruamel.yaml && \
55 wget -O /usr/bin/yq "https://github.com/mikefarah/yq/releases/download/3.1.1/yq_linux_amd64" && \
66 chmod 0755 /usr/bin/yq && \
7+ python3 -m venv /app/.venv && \
78# requests 2.32.0 has a bug with not allowing docker+http protocol, see requests/issues/6707
8- pip3 install -U pip chartpress==2.1.0 "requests<2.32.0" && \
9+ /app/.venv/bin/ pip3 install pip chartpress==2.1.0 "requests<2.32.0" && \
910 wget -O /tmp/helm.tar.gz "https://get.helm.sh/helm-v3.14.2-linux-amd64.tar.gz" && \
1011 tar -xf /tmp/helm.tar.gz --strip-components=1 -C /usr/bin/ && \
1112 chmod 0755 /usr/bin/helm
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -xe
33
4+ source /app/.venv/bin/activate
5+
46if echo $GITHUB_REF | grep " tags" - > /dev/null; then
57 CHART_TAG=" --tag $( echo ${GITHUB_REF} | cut -d/ -f3) "
68fi
Original file line number Diff line number Diff line change 1- FROM docker:24.0.6-git
1+ FROM docker:29.2.1-dind
22
33# install dependencies
44# Note: Chartpress 0.7.0 is the latest version compatible until https://github.com/jupyterhub/chartpress/issues/118 is fixed
55RUN apk add python3 py-pip py3-ruamel.yaml && \
66 wget -O /usr/bin/yq "https://github.com/mikefarah/yq/releases/download/3.1.1/yq_linux_amd64" && \
77 chmod 0755 /usr/bin/yq && \
8+ python3 -m venv /app/.venv && \
89# requests 2.32.0 has a bug with not allowing docker+http protocol, see requests/issues/6707
9- pip3 install -U pip chartpress==2.1.0 "requests<2.32.0" && \
10+ /app/.venv/bin/ pip3 install pip chartpress==2.1.0 "requests<2.32.0" && \
1011 wget -O /tmp/helm.tar.gz "https://get.helm.sh/helm-v3.5.2-linux-amd64.tar.gz" && \
1112 tar -xf /tmp/helm.tar.gz --strip-components=1 -C /usr/bin/ && \
1213 chmod 0755 /usr/bin/helm
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -xe
33
4+ source /app/.venv/bin/activate
5+
46if echo $GITHUB_REF | grep " tags" - > /dev/null; then
57 CHART_TAG=" --tag $( echo ${GITHUB_REF} | cut -d/ -f3) "
68fi
You can’t perform that action at this time.
0 commit comments