chore: Pass password through stdin

This commit is contained in:
Danny Bessems 2024-02-28 11:39:20 +11:00
parent d24b91f0a6
commit b0586dede0

@ -62,7 +62,6 @@ jobs:
build_chart: build_chart:
name: Helm chart name: Helm chart
container: node:21-bullseye
runs-on: dind-rootless runs-on: dind-rootless
needs: semrel_dryrun needs: semrel_dryrun
@ -86,9 +85,9 @@ jobs:
helm package ./charts/spamasaurusrex helm package ./charts/spamasaurusrex
- name: Add target helm repository - name: Add target helm repository
run: | run: |
helm repo add \ echo "$GIT_APIKEY" | helm repo add \
--username $GIT_USERNAME \ --username $GIT_USERNAME \
--password $GIT_APIKEY \ --password-stdin \
spamasaurus \ spamasaurus \
https://code.spamasaurus.com/api/packages/$GIT_USERNAME/helm https://code.spamasaurus.com/api/packages/$GIT_USERNAME/helm
- name: Push helm chart - name: Push helm chart