Skip to content

Commit

Permalink
Use pre-built image for workflow speedup
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed Jan 22, 2020
1 parent 05dded1 commit aeef3c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 65 deletions.
21 changes: 1 addition & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
FROM flownative/base:1

ENV HELM_VERSION v3.0.2
ENV HELM_HOME=/root/.helm

# We need Git for "helm plugin install"
RUN apt-get update \
&& apt-get install git \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/log/apt \
&& rm -rf /var/log/dpkg.log

RUN curl -sSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar xz \
&& mv linux-amd64/helm /usr/local/bin/helm \
&& rm -rf linux-amd64

COPY entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
FROM flownative/action-helm-release:1
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ jobs:
repository_user: '${{ secrets.CHARTMUSEUM_USER }}'
repository_password: '${{ secrets.CHARTMUSEUM_PASSWORD }}'
````

## Implementation Note

The repository of this action does not contain the actual implementation code. Instead, it's referring to a pre-build
image in its `Dockerfile` in order to save resources and speed up workflow runs.

The code of this action can be found [here](https://github.com/flownative/docker-action-helm-release).
45 changes: 0 additions & 45 deletions entrypoint.sh

This file was deleted.

0 comments on commit aeef3c5

Please sign in to comment.