diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..a26caf9 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,19 @@ +name: Shellcheck +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + shellcheck: + name: Shellcheck push-helm-charts.sh + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Start check + uses: reviewdog/action-shellcheck@v1 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + path: "." + pattern: "*.sh" + exclude: "./.git/*" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index af894ac..663b2d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM golang:1.12-stretch +FROM golang:1.14-stretch WORKDIR /tmp # Install Helm -ENV HELM_VERSION=2.13.0 -RUN curl -sLO https://kubernetes-helm.storage.googleapis.com/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ +ENV HELM_VERSION=2.16.9 +RUN curl -sLO https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ tar -zxvf helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ mv linux-amd64/helm /usr/local/bin/ # Install a tiny azure client -ENV AZCLI_VERSION=v0.3.1 +ENV AZCLI_VERSION=v0.3.2 RUN curl -sLo /usr/local/bin/az https://github.com/carolynvs/az-cli/releases/download/$AZCLI_VERSION/az-linux-amd64 && \ chmod +x /usr/local/bin/az diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..f3407e4 --- /dev/null +++ b/action.yml @@ -0,0 +1,6 @@ +# action.yml +name: 'drone-helm' +description: 'This is a plugin used by the Athens CI/CD system to publish Drone Charts' +runs: + using: 'docker' + image: 'Dockerfile'