Skip to content

Commit cd6d96f

Browse files
authored
Merge pull request #26 from universal-development/hcloud
Add hcloud installation in cicd
2 parents 93675cd + ef2b9fc commit cd6d96f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cicd/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ RUN wget https://get.helm.sh/helm-${helm_version}-linux-amd64.tar.gz
5757
RUN tar xfvz helm-${helm_version}-linux-amd64.tar.gz
5858
RUN mv linux-amd64/helm /usr/local/bin/helm
5959

60+
# install hcloud
61+
ENV HCLOUD_VERSION=v1.47.0
62+
RUN curl -L https://github.com/hetznercloud/cli/releases/download/${HCLOUD_VERSION}/hcloud-linux-amd64.tar.gz \
63+
| tar -xz -C /usr/local/bin
64+
RUN chmod +x /usr/local/bin/hcloud
65+
RUN hcloud version
66+
6067
WORKDIR /
6168
RUN rm -rf /tmp/downloads
6269

0 commit comments

Comments
 (0)