Skip to content

Commit

Permalink
Merge pull request #7 from digitalocean/doctl-1.18.0
Browse files Browse the repository at this point in the history
Update doctl to 1.18.0
  • Loading branch information
andrewsomething authored May 21, 2019
2 parents ca40089 + d0bf679 commit 7a90b4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.5

LABEL "name"="doctl"
LABEL "version"="1.1.0"
LABEL "version"="1.2.0"
LABEL "maintainer"="Andrew Starr-Bochicchio <asb@digitalocean.com>"
LABEL "repository"="https://github.com/digitalocean/action-doctl"
LABEL "homepage"="https://github.com/digitalocean/action-doctl"
Expand All @@ -11,14 +11,17 @@ LABEL "com.github.actions.description"="Use doctl to manage you DigitalOcean res
LABEL "com.github.actions.icon"="droplet"
LABEL "com.github.actions.color"="blue"

ENV DOCTL_VERSION=1.15.0
ENV DOCTL_VERSION=1.18.0
ENV DOCTL_SHA256=f556cd224d5da65edbb4f50a927bfbf01892f9488782f5cf146b4d28d6fe0b22

RUN apk add --no-cache curl

RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

RUN curl -L https://github.com/digitalocean/doctl/releases/download/v${DOCTL_VERSION}/doctl-${DOCTL_VERSION}-linux-amd64.tar.gz | tar xz -C /usr/local/bin/

RUN /bin/echo "${DOCTL_SHA256} /usr/local/bin/doctl" | sha256sum -c -

COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD [ "help" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ action "Save DigitalOcean kubeconfig" {
env = {
CLUSTER_NAME = "example"
}
args = ["kubernetes cluster kubeconfig show $CLUSTER_NAME > $HOME/.kubeconfig"]
args = ["kubernetes cluster kubeconfig save $CLUSTER_NAME"]
}
```

Expand Down

0 comments on commit 7a90b4e

Please sign in to comment.