Skip to content

Commit ab71fd3

Browse files
committed
Merge pull request #41 from stefanprodan/helm-action
Use Helm composite GH Action
2 parents f061a73 + e2a4dc6 commit ab71fd3

File tree

4 files changed

+25
-27
lines changed

4 files changed

+25
-27
lines changed

.github/actions/helm/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/actions/helm/action.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1-
name: 'helm'
2-
description: 'A GitHub Action to run helm commands'
3-
author: 'Stefan Prodan'
1+
name: Setup Helm
2+
description: A GitHub Action for running Helm commands
3+
author: Stefan Prodan
44
branding:
5-
icon: 'command'
6-
color: 'blue'
5+
color: blue
6+
icon: command
7+
inputs:
8+
version:
9+
description: "Helm version"
10+
required: true
711
runs:
8-
using: 'docker'
9-
image: 'Dockerfile'
12+
using: composite
13+
steps:
14+
- name: "Install Helm"
15+
shell: bash
16+
run: |
17+
VERSION=${{ inputs.version }}
18+
cd /tmp
19+
curl -sL https://get.helm.sh/helm-v${VERSION}-linux-amd64.tar.gz | tar xz
20+
sudo cp ./linux-amd64/helm /usr/local/bin
21+
- name: "Verify correct installation of binary"
22+
shell: bash
23+
run: |
24+
helm version

.github/actions/helm/entrypoint.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/update-istio.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
ref: master
1818
- name: Setup Helm
1919
uses: ./.github/actions/helm
20+
with:
21+
version: 3.5.3
2022
- name: Check for updates
2123
id: check
2224
run: |
@@ -36,7 +38,7 @@ jobs:
3638
echo ::set-output name=version::${ISTIO_VER}
3739
fi
3840
- name: Create Pull Request
39-
uses: peter-evans/create-pull-request@v2
41+
uses: peter-evans/create-pull-request@v3
4042
if: steps.check.outputs.version
4143
with:
4244
commit-message: Update Istio to ${{ steps.check.outputs.version }}

0 commit comments

Comments
 (0)