Skip to content

Commit

Permalink
Merge pull request #281 from eliyamlevy/limit_k8s_verson_for_drone
Browse files Browse the repository at this point in the history
Limited k8s version for drone pipelines to v1.24
  • Loading branch information
eliyamlevy authored Nov 8, 2022
2 parents 9617bd5 + 7bc0d0b commit 6608eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ENV K3S_BINARY_amd64=k3s \
K3S_BINARY_s390x=k3s-s390x \
K3S_BINARY=K3S_BINARY_${ARCH}

RUN curl -sL https://github.com/rancher/k3s/releases/download/$(curl -Ls -o /dev/null -w %{url_effective} https://update.k3s.io/v1-release/channels/stable | awk -F/ '{ print $NF }')/${!K3S_BINARY} > /usr/local/bin/k3s && \
RUN curl -sL https://github.com/rancher/k3s/releases/download/$(curl -Ls -o /dev/null -w %{url_effective} https://update.k3s.io/v1-release/channels/v1.24 | awk -F/ '{ print $NF }')/${!K3S_BINARY} > /usr/local/bin/k3s && \
chmod +x /usr/local/bin/k3s

RUN if [ "${ARCH}" != "s390x" ]; then \
Expand Down

0 comments on commit 6608eec

Please sign in to comment.