Skip to content

Commit

Permalink
add targetarch
Browse files Browse the repository at this point in the history
  • Loading branch information
nianyush committed Oct 17, 2023
1 parent 8861c59 commit 59774ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ base-alpine:

download-etcdctl:
FROM +base-alpine
ARG TARGETOS
ARG TARGETARCH
RUN curl --retry 5 -Ls https://github.com/etcd-io/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-${TARGETARCH}.tar.gz | tar -xvzf - --strip-components=1 etcd-${ETCD_VERSION}-linux-${TARGETARCH}/etcdctl && \
chmod +x etcdctl
SAVE ARTIFACT etcdctl
Expand Down

0 comments on commit 59774ba

Please sign in to comment.