build: Revert container image & explicitly install helm binary
Some checks failed
build-image / Semantic Release (Dry-run) (push) Successful in 23s
build-image / Container image (push) Successful in 1m22s
build-image / Helm chart (push) Failing after 4m5s
build-image / Semantic Release (push) Has been skipped

This commit is contained in:
Danny Bessems 2024-06-06 22:02:09 +10:00
parent f6d3804907
commit 5ed9698019

View File

@ -100,12 +100,16 @@ jobs:
name: Helm chart name: Helm chart
runs-on: dind runs-on: dind
needs: semrel_dryrun needs: semrel_dryrun
container: code.spamasaurus.com/djpbessems/packer-extended:1.3.0
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Prepare build environment - name: Prepare build environment
run: | run: |
curl -L https://api.github.com/repos/helm/helm/releases/latest | \
jq -r '.tag_name' | \
xargs -I {} curl -L -o /tmp/helm.tar.gz https://get.helm.sh/helm-{}-linux-amd64.tar.gz && \
tar -xzf /tmp/helm.tar.gz --strip-components=1 -C /bin
helm plugin install https://github.com/chartmuseum/helm-push helm plugin install https://github.com/chartmuseum/helm-push
sed -i 's/{{ chart_version }}/${{ needs.semrel_dryrun.outputs.version }}/g' charts/json-server/Chart.yaml sed -i 's/{{ chart_version }}/${{ needs.semrel_dryrun.outputs.version }}/g' charts/json-server/Chart.yaml